summaryrefslogtreecommitdiff
path: root/core/fxge/skia
diff options
context:
space:
mode:
authorcaryclark <caryclark@google.com>2016-05-19 07:01:03 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-19 07:01:03 -0700
commit749c14c24f7e8a838efc077a45ca7fe41db3e2ee (patch)
treeaf5fd5b293e505eb04610214f3c22839ccc0a199 /core/fxge/skia
parent7b214237e2be6a0d962987d222c73161620c0a27 (diff)
downloadpdfium-749c14c24f7e8a838efc077a45ca7fe41db3e2ee.tar.xz
Remove agg from skia build
This removes the last vestiges of antigrain from a Skia-specific build. R=dsinclair@chromium.org,tsepez@chromium.org,thestig@chromium.org,reed@google.com Review-Url: https://codereview.chromium.org/1998623002
Diffstat (limited to 'core/fxge/skia')
-rw-r--r--core/fxge/skia/fx_skia_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/skia/fx_skia_device.cpp b/core/fxge/skia/fx_skia_device.cpp
index 7f47d855c9..d6d8218d57 100644
--- a/core/fxge/skia/fx_skia_device.cpp
+++ b/core/fxge/skia/fx_skia_device.cpp
@@ -233,7 +233,7 @@ bool AddSamples(const CPDF_Function* pFunc,
return false;
uint32_t sampleSize = sampledFunc->m_nBitsPerSample;
uint32_t sampleCount = encodeInfo.sizes;
- if (sampleCount != 1 << sampleSize)
+ if (sampleCount != 1U << sampleSize)
return false;
if (sampledFunc->m_pSampleStream->GetSize() <
sampleCount * 3 * sampleSize / 8) {