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

Unified Diff: cc/layers/layer_impl.h

Issue 2278273004: Fix CSS reference filters with negative transformed children. (Closed)
Patch Set: SkPoint -> FloatPoint, gfx::PointF as appropriate. 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
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 0dd2c97ced7f5eb2783ec35f0ba5bfc4933642c3..90299ca3d8b403d32b1178f786254627998a3cca 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -204,6 +204,9 @@ class CC_EXPORT LayerImpl {
void SetElementId(ElementId element_id);
ElementId element_id() const { return element_id_; }
+ void SetFiltersOrigin(const gfx::PointF& filters_origin);
+ gfx::PointF filters_origin() const { return filters_origin_; }
+
void SetMutableProperties(uint32_t properties);
uint32_t mutable_properties() const { return mutable_properties_; }
@@ -577,6 +580,7 @@ class CC_EXPORT LayerImpl {
bool scrolls_drawn_descendant_ : 1;
bool has_will_change_transform_hint_ : 1;
bool needs_push_properties_ : 1;
+ gfx::PointF filters_origin_;
ajuma 2016/08/29 20:28:43 Please add this to LayerImplTestProperties instead
Stephen White 2016/08/29 21:10:54 Done.
DISALLOW_COPY_AND_ASSIGN(LayerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698