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

Unified Diff: webkit/compositor_bindings/web_layer_impl.cc

Issue 11175009: Implement SkImageFilter support in the compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODOs; comment out OVERRIDE. Created 8 years, 2 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: webkit/compositor_bindings/web_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_layer_impl.cc b/webkit/compositor_bindings/web_layer_impl.cc
index e4765987bf1620c78ff31a2f7c2dcc61d6d728d4..15a5d31cd56e798e50b9371484e7c0d3d8526e09 100644
--- a/webkit/compositor_bindings/web_layer_impl.cc
+++ b/webkit/compositor_bindings/web_layer_impl.cc
@@ -272,6 +272,11 @@ void WebLayerImpl::setBackgroundFilters(const WebFilterOperations& filters)
m_layer->setBackgroundFilters(filters);
}
+void WebLayerImpl::setFilter(SkImageFilter* filter)
+{
+ m_layer->setFilter(filter);
+}
+
void WebLayerImpl::setDebugBorderColor(const WebColor& color)
{
m_layer->setDebugBorderColor(color);
« webkit/compositor_bindings/web_layer_impl.h ('K') | « webkit/compositor_bindings/web_layer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698