Index: cc/render_pass.h |
diff --git a/cc/render_pass.h b/cc/render_pass.h |
index 46247573b488b6f8453c2881ac7b6f672efaa17f..763d7e6a3e745d470850063316928883daf05263 100644 |
--- a/cc/render_pass.h |
+++ b/cc/render_pass.h |
@@ -15,12 +15,12 @@ |
#include "cc/scoped_ptr_hash_map.h" |
#include "cc/scoped_ptr_vector.h" |
#include "cc/shared_quad_state.h" |
+#include "cc/skia_refptr.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "third_party/skia/include/core/SkImageFilter.h" |
#include "ui/gfx/rect_f.h" |
#include "ui/gfx/transform.h" |
-class SkImageFilter; |
- |
namespace cc { |
// A list of DrawQuad objects, sorted internally in front-to-back order. |
@@ -76,7 +76,7 @@ class CC_EXPORT RenderPass { |
bool has_transparent_background, |
bool has_occlusion_from_outside_target_surface, |
const WebKit::WebFilterOperations& filters, |
- SkImageFilter* filter, |
+ const SkiaRefPtr<SkImageFilter>& filter, |
const WebKit::WebFilterOperations& background_filters); |
// Uniquely identifies the render pass in the compositor's current frame. |
@@ -101,7 +101,7 @@ class CC_EXPORT RenderPass { |
// pass' texture. |
WebKit::WebFilterOperations filters; |
// Post-processing filter applied to the pixels in the render pass' texture. |
- SkImageFilter* filter; |
+ SkiaRefPtr<SkImageFilter> filter; |
// Post-processing filters, applied to the pixels showing through the |
// background of the render pass, from behind it. |