Index: tools/viewer/Viewer.cpp |
diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp |
index be80f5748bce9bf83c6fe4fa2653da73a1245f26..010a9140d719cfa514b73988793500f3a9935a20 100644 |
--- a/tools/viewer/Viewer.cpp |
+++ b/tools/viewer/Viewer.cpp |
@@ -375,6 +375,7 @@ void Viewer::drawSlide(SkCanvas* canvas, bool inSplitScreen) { |
if (inSplitScreen) { |
sk_sp<SkSurface> offscreenSurface = fWindow->getOffscreenSurface(true); |
+ offscreenSurface->getCanvas()->getMetaData().setBool(kImageColorXformMetaData, true); |
fSlides[fCurrentSlide]->draw(offscreenSurface->getCanvas()); |
sk_sp<SkImage> snapshot = offscreenSurface->makeImageSnapshot(); |
canvas->drawImage(snapshot, 0, 0); |