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

Unified Diff: sky/engine/core/painting/Canvas.cpp

Issue 1134913003: Teach SkyView path to draw a circle (Closed) Base URL: git@github.com:domokit/mojo.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
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/painting/Picture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Canvas.cpp
diff --git a/sky/engine/core/painting/Canvas.cpp b/sky/engine/core/painting/Canvas.cpp
index f169066c1cb9febda8dda9c5e32aa81c63e590fe..e14493d483ad8cdde660d91b67240b0ca64358a0 100644
--- a/sky/engine/core/painting/Canvas.cpp
+++ b/sky/engine/core/painting/Canvas.cpp
@@ -117,7 +117,7 @@ void Canvas::drawPicture(Picture* picture)
return;
ASSERT(picture);
ASSERT(m_displayList->isRecording());
- m_canvas->drawPicture(picture->displayList()->picture());
+ m_canvas->drawPicture(picture->toSkia());
}
void Canvas::drawPaint(const Paint* paint)
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/painting/Picture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698