aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2014-10-03 06:53:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-03 06:53:04 -0700
commit4611e7f479b1176a31af0bdc2a12528df5f75167 (patch)
treebfc071a1de39a4d58f73b50aeb96c8f496205773 /src
parent1a8ecdfb73a15de600d5779b75d7c4b61863c50b (diff)
Don't turn on dither for saveLayers which have no paint
Only the gpu, 565 and msaa configs of GMs in ignored-tests.txt need rebaselining. NOTRY=true Review URL: https://codereview.chromium.org/619363002
Diffstat (limited to 'src')
-rw-r--r--src/core/SkCanvas.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index 065aecdd95..c57add408f 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -1204,7 +1204,6 @@ void SkCanvas::internalDrawDevice(SkBaseDevice* srcDev, int x, int y,
const SkPaint* paint) {
SkPaint tmp;
if (NULL == paint) {
- tmp.setDither(true);
paint = &tmp;
}