Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2335)

Unified Diff: Source/platform/graphics/paint/DisplayItemListContextRecorder.h

Issue 1145843003: Fix Slimming Paint WebGL printing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/graphics/paint/DisplayItemListContextRecorder.h
diff --git a/Source/platform/graphics/paint/DisplayItemListContextRecorder.h b/Source/platform/graphics/paint/DisplayItemListContextRecorder.h
index b2a68a249824600666ee9c3ec6dfb5fb33de60ab..733bb86796fc5d66652e6ff7028a2c7981b72567 100644
--- a/Source/platform/graphics/paint/DisplayItemListContextRecorder.h
+++ b/Source/platform/graphics/paint/DisplayItemListContextRecorder.h
@@ -25,6 +25,9 @@ public:
m_displayItemList = DisplayItemList::create();
m_displayItemListContext = adoptPtr(new GraphicsContext(m_displayItemList.get(),
context.contextDisabled() ? GraphicsContext::FullyDisabled : GraphicsContext::NothingDisabled));
+ m_displayItemListContext->setAnnotationMode(context.annotationMode());
+ m_displayItemListContext->setDeviceScaleFactor(context.deviceScaleFactor());
+ m_displayItemListContext->setPrinting(context.printing());
}
~DisplayItemListContextRecorder()
« Source/platform/graphics/GraphicsContext.cpp ('K') | « Source/platform/graphics/GraphicsContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698