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

Unified Diff: content/common/cc_messages.cc

Issue 11418217: Add skia::RefPtr class to wrap ref counted classes from Skia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Drop TNoRef 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
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) {

Powered by Google App Engine
This is Rietveld 408576698