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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 2343173002: Let clients of FilterEffectBuilder compute/provide the reference-box (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/core/paint/PaintLayer.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index 1edc804fe2132308c8e587dc42e1b9621231a383..578c82fda0b4ba4d3ac9c51e201fc13cd54cba3a 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -373,6 +373,7 @@ public:
LayoutRect physicalBoundingBoxIncludingReflectionAndStackingChildren(const LayoutPoint& offsetFromRoot, CalculateBoundsOptions = MaybeIncludeTransformForAncestorLayer) const;
LayoutRect fragmentsBoundingBox(const PaintLayer* ancestorLayer) const;
+ FloatRect boxForFilter() const;
LayoutRect boxForClipPath() const;
LayoutRect boundingBoxForCompositingOverlapTest() const;
@@ -788,7 +789,7 @@ private:
bool requiresStackingNode() const { return true; }
void updateStackingNode();
- FilterOperations computeFilterOperations(const ComputedStyle&) const;
+ FilterOperations addReflectionToFilterOperations(const ComputedStyle&) const;
void updateReflectionInfo(const ComputedStyle*);
FilterEffectBuilder* updateFilterEffectBuilder() const;

Powered by Google App Engine
This is Rietveld 408576698