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

Unified Diff: webkit/compositor_bindings/web_layer_impl.cc

Issue 11412255: cc: Use skia::RefPtr in place of raw pointers and SkAutoTUnref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add webkit Created 8 years, 1 month 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 | « content/common/cc_messages_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ee8b50f7c31854c73796752e15678ce108f8cced..5530339ab6c68774bb1be97aed16c26f655525e5 100644
--- a/webkit/compositor_bindings/web_layer_impl.cc
+++ b/webkit/compositor_bindings/web_layer_impl.cc
@@ -241,7 +241,7 @@ void WebLayerImpl::setBackgroundFilters(const WebFilterOperations& filters)
void WebLayerImpl::setFilter(SkImageFilter* filter)
{
- m_layer->setFilter(filter);
+ m_layer->setFilter(skia::AdoptRef(filter));
Stephen White 2012/12/03 19:32:09 It would be nice to clean this one up too, since t
danakj 2012/12/03 20:08:27 Oh! I see the graphics layer is sticking its point
}
void WebLayerImpl::setDebugName(WebString name)
« no previous file with comments | « content/common/cc_messages_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698