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

Unified Diff: cc/layers/layer_impl.cc

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.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 3d773b91d9b7cc3094b2fd662195a1d3a0d8a0ad..87ffd47cee559b58db16d1aa254c9f2fe607916f 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -823,6 +823,10 @@ bool LayerImpl::FilterAnimationBoundsForBox(const gfx::BoxF& box,
bounds);
}
+void LayerImpl::SetFiltersOrigin(const gfx::PointF& filters_origin) {
+ filters_origin_ = filters_origin;
+}
+
bool LayerImpl::TransformAnimationBoundsForBox(const gfx::BoxF& box,
gfx::BoxF* bounds) const {
return GetAnimationHost()->TransformAnimationBoundsForBox(element_id(), box,

Powered by Google App Engine
This is Rietveld 408576698