summaryrefslogtreecommitdiffstats
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
commita47a037ec9052bf1707be10ba5140226f939eb60 (patch)
treea250561efd62b85afa60738eec1cf3184d9ea499 /image
parent76de6d38a8debfe06ce3c55704e2fa7121634d67 (diff)
downloadUXP-a47a037ec9052bf1707be10ba5140226f939eb60.tar
UXP-a47a037ec9052bf1707be10ba5140226f939eb60.tar.gz
UXP-a47a037ec9052bf1707be10ba5140226f939eb60.tar.lz
UXP-a47a037ec9052bf1707be10ba5140226f939eb60.tar.xz
UXP-a47a037ec9052bf1707be10ba5140226f939eb60.zip
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: