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

Unified Diff: content/common/cc_messages.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: ref() Created 8 years 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 | « cc/software_renderer.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cc_messages.cc
diff --git a/content/common/cc_messages.cc b/content/common/cc_messages.cc
index 166e77a168a2f257ee7b8549de34a7290212ea5f..127bafd64efa3d9e4873daebd76d4a075f000b40 100644
--- a/content/common/cc_messages.cc
+++ b/content/common/cc_messages.cc
@@ -414,6 +414,7 @@ bool ParamTraits<cc::RenderPass>::Read(
bool has_transparent_background;
bool has_occlusion_from_outside_target_surface;
WebKit::WebFilterOperations filters;
+ skia::RefPtr<SkImageFilter> filter;
WebKit::WebFilterOperations background_filters;
size_t shared_quad_state_list_size;
size_t quad_list_size;
@@ -437,7 +438,7 @@ bool ParamTraits<cc::RenderPass>::Read(
has_transparent_background,
has_occlusion_from_outside_target_surface,
filters,
- NULL, // TODO(danakj): filter isn't being serialized.
+ filter, // TODO(danakj): filter isn't being serialized.
background_filters);
for (size_t i = 0; i < shared_quad_state_list_size; ++i) {
« no previous file with comments | « cc/software_renderer.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698