Chromium Code Reviews| Index: cc/layer_impl.h |
| diff --git a/cc/layer_impl.h b/cc/layer_impl.h |
| index 32be1cd8e3c37a733ba0f657cdb360691acf38bc..9bdb843181d42cb3815759f11b3e10ac4031c7cc 100644 |
| --- a/cc/layer_impl.h |
| +++ b/cc/layer_impl.h |
| @@ -110,6 +110,9 @@ public: |
| void setBackgroundFilters(const WebKit::WebFilterOperations&); |
| const WebKit::WebFilterOperations& backgroundFilters() const { return m_backgroundFilters; } |
| + void setFilter(SkImageFilter*); |
| + SkImageFilter* filter() const { return m_filter; } |
| + |
| void setMasksToBounds(bool); |
| bool masksToBounds() const { return m_masksToBounds; } |
| @@ -362,6 +365,7 @@ private: |
| WebKit::WebFilterOperations m_filters; |
| WebKit::WebFilterOperations m_backgroundFilters; |
| + SkImageFilter* m_filter; |
|
jamesr
2012/10/19 19:15:30
Same question here - are we supposed to unref in ~
Stephen White
2012/10/19 21:34:50
Done.
|
| WebKit::WebTransformationMatrix m_drawTransform; |
| WebKit::WebTransformationMatrix m_screenSpaceTransform; |