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

Unified Diff: sky/engine/platform/graphics/filters/SourceGraphic.cpp

Issue 1017593005: Add a basic custom painting facility to Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add missing files Created 5 years, 9 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: sky/engine/platform/graphics/filters/SourceGraphic.cpp
diff --git a/sky/engine/platform/graphics/filters/SourceGraphic.cpp b/sky/engine/platform/graphics/filters/SourceGraphic.cpp
index de895463d86b8d6bc410c3865318e120a6008a76..ff6dc9f16f565bec332b802a27b96b2bf7183606 100644
--- a/sky/engine/platform/graphics/filters/SourceGraphic.cpp
+++ b/sky/engine/platform/graphics/filters/SourceGraphic.cpp
@@ -63,17 +63,9 @@ void SourceGraphic::applySoftware()
}
}
-void SourceGraphic::setDisplayList(PassRefPtr<DisplayList> displayList)
-{
- m_displayList = displayList;
-}
-
PassRefPtr<SkImageFilter> SourceGraphic::createImageFilter(SkiaImageFilterBuilder*)
{
- if (!m_displayList)
- return nullptr;
-
- return adoptRef(SkPictureImageFilter::Create(m_displayList->picture(), m_displayList->bounds()));
+ return nullptr;
}
TextStream& SourceGraphic::externalRepresentation(TextStream& ts, int indent) const

Powered by Google App Engine
This is Rietveld 408576698