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

Unified Diff: cc/playback/filter_display_item.h

Issue 2297213003: Fix CSS reference filters with negative transformed children. (Closed)
Patch Set: Created 4 years, 4 months 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/playback/display_item_list_unittest.cc ('k') | cc/playback/filter_display_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/filter_display_item.h
diff --git a/cc/playback/filter_display_item.h b/cc/playback/filter_display_item.h
index 106bf44888c65854c4efabd48e4ea5f4ffc97ea7..b4ba8cedcc14e8dbc2460699b090c9195b4ca8fa 100644
--- a/cc/playback/filter_display_item.h
+++ b/cc/playback/filter_display_item.h
@@ -21,7 +21,9 @@ namespace cc {
class CC_EXPORT FilterDisplayItem : public DisplayItem {
public:
- FilterDisplayItem(const FilterOperations& filters, const gfx::RectF& bounds);
+ FilterDisplayItem(const FilterOperations& filters,
+ const gfx::RectF& bounds,
+ const gfx::PointF& origin);
explicit FilterDisplayItem(const proto::DisplayItem& proto);
~FilterDisplayItem() override;
@@ -35,10 +37,13 @@ class CC_EXPORT FilterDisplayItem : public DisplayItem {
int ApproximateOpCount() const { return 1; }
private:
- void SetNew(const FilterOperations& filters, const gfx::RectF& bounds);
+ void SetNew(const FilterOperations& filters,
+ const gfx::RectF& bounds,
+ const gfx::PointF& origin);
FilterOperations filters_;
gfx::RectF bounds_;
+ gfx::PointF origin_;
};
class CC_EXPORT EndFilterDisplayItem : public DisplayItem {
« no previous file with comments | « cc/playback/display_item_list_unittest.cc ('k') | cc/playback/filter_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698