summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-04 12:35:44 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-04 12:35:44 +0100
commit27c1d77bf9921964b34261e6b1ec9420088ba391 (patch)
treea250561efd62b85afa60738eec1cf3184d9ea499 /image
parent40627b0a5c39f5a4e5952d29d429fab30195a804 (diff)
downloadaura-central-27c1d77bf9921964b34261e6b1ec9420088ba391.tar.gz
Use int instead of uint for vector dimension cap.
Diffstat (limited to 'image')
-rw-r--r--image/VectorImage.cpp2
1 files changed, 1 insertions, 1 deletions
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: