From a47a037ec9052bf1707be10ba5140226f939eb60 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 4 Feb 2018 12:35:44 +0100 Subject: Use int instead of uint for vector dimension cap. --- image/VectorImage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image') diff --git a/image/VectorImage.cpp b/image/VectorImage.cpp index 2976f5243..fd970e179 100644 --- a/image/VectorImage.cpp +++ b/image/VectorImage.cpp @@ -935,7 +935,7 @@ VectorImage::CreateSurfaceAndShow(const SVGDrawingParameters& aParams, BackendTy // x or y > maxDimension, because for vector images this can cause bad perf // issues if large sizes are scaled repeatedly (a rather common scenario) // that can quickly exhaust the cache. - uint32_t maxDimension = 3000; + int32_t maxDimension = 3000; bool bypassCache = bool(aParams.flags & FLAG_BYPASS_SURFACE_CACHE) || // Refuse to cache animated images: -- cgit v1.2.3