diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-04 15:23:27 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-04 15:23:27 +0100 |
commit | 3ef4f63ec257cf90ad4bf8695a1e4e291f811af2 (patch) | |
tree | a250561efd62b85afa60738eec1cf3184d9ea499 /image/VectorImage.cpp | |
parent | feeb4327304db5af1c4aa7f77c082bb6527eef5b (diff) | |
parent | a47a037ec9052bf1707be10ba5140226f939eb60 (diff) | |
download | UXP-3ef4f63ec257cf90ad4bf8695a1e4e291f811af2.tar UXP-3ef4f63ec257cf90ad4bf8695a1e4e291f811af2.tar.gz UXP-3ef4f63ec257cf90ad4bf8695a1e4e291f811af2.tar.lz UXP-3ef4f63ec257cf90ad4bf8695a1e4e291f811af2.tar.xz UXP-3ef4f63ec257cf90ad4bf8695a1e4e291f811af2.zip |
Merge branch 'ported-moebius'
Diffstat (limited to 'image/VectorImage.cpp')
-rw-r--r-- | image/VectorImage.cpp | 2 |
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: |