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

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
index 88e7a9f10b0eaaa103191c2aa135b038427d9863..64547134e391272b56ca758dbb9d8d7703f2f773 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
@@ -347,6 +347,7 @@ void WebPluginContainerImpl::printPage(int pageNumber,
LayoutObjectDrawingRecorder drawingRecorder(
gc, *m_element->layoutObject(), DisplayItem::Type::kWebPlugin, printRect);
gc.save();
+
WebCanvas* canvas = gc.canvas();
m_webPlugin->printPage(pageNumber, canvas);
gc.restore();
« no previous file with comments | « third_party/WebKit/Source/web/PageOverlayTest.cpp ('k') | third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698