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

Unified Diff: sky/engine/core/painting/Picture.h

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/painting/Canvas.cpp ('k') | sky/engine/core/script/dart_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Picture.h
diff --git a/sky/engine/core/painting/Picture.h b/sky/engine/core/painting/Picture.h
index adfc908563c7716c7deeb4ffa75c4e9709c117d1..f01e069f54d353899c3eaddc83fbbd9419f6786e 100644
--- a/sky/engine/core/painting/Picture.h
+++ b/sky/engine/core/painting/Picture.h
@@ -18,6 +18,7 @@ public:
~Picture() override;
static PassRefPtr<Picture> create(PassRefPtr<DisplayList>);
+ SkPicture* toSkia() const { return m_displayList->picture(); }
DisplayList* displayList() const { return m_displayList.get(); }
private:
« no previous file with comments | « sky/engine/core/painting/Canvas.cpp ('k') | sky/engine/core/script/dart_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698