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

Unified Diff: Source/platform/graphics/GraphicsContext.cpp

Issue 316863003: Switch Blink to using new Skia SkCanvas::drawPicture method (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address code review comment (fix override in GraphicsContextRecorder) Created 6 years, 6 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/GraphicsContext.cpp
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
index ac792ec18e8434c9ad3bbf39becfb03b997adc4f..59168523c45d0d473a388605e53e925136505b12 100644
--- a/Source/platform/graphics/GraphicsContext.cpp
+++ b/Source/platform/graphics/GraphicsContext.cpp
@@ -543,7 +543,7 @@ void GraphicsContext::drawDisplayList(DisplayList* displayList)
if (bounds.x() || bounds.y())
m_canvas->translate(bounds.x(), bounds.y());
- m_canvas->drawPicture(*displayList->picture());
+ m_canvas->drawPicture(displayList->picture());
if (bounds.x() || bounds.y())
m_canvas->translate(-bounds.x(), -bounds.y());
« no previous file with comments | « Source/platform/graphics/DeferredImageDecoderTest.cpp ('k') | Source/platform/graphics/GraphicsContextRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698