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

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

Issue 1459953002: Fix the reference box computation for CSS filter effects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix another comment Created 5 years, 1 month 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 4b47a60f6b8c037eafdd3e9489a0d3542a69666c..b3ab394090189aa7baf96a9599372995ce20b171 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -418,15 +418,12 @@ public:
bool containsDirtyOverlayScrollbars() const { return m_containsDirtyOverlayScrollbars; }
void setContainsDirtyOverlayScrollbars(bool dirtyScrollbars) { m_containsDirtyOverlayScrollbars = dirtyScrollbars; }
- FilterOperations computeFilterOperations(const ComputedStyle&);
- FilterOperations computeBackdropFilterOperations(const ComputedStyle&);
+ FilterOperations computeFilterOperations(const ComputedStyle&) const;
+ FilterOperations computeBackdropFilterOperations(const ComputedStyle&) const;
bool paintsWithFilters() const;
bool paintsWithBackdropFilters() const;
- FilterEffectBuilder* filterEffectBuilder() const
- {
- PaintLayerFilterInfo* filterInfo = this->filterInfo();
- return filterInfo ? filterInfo->builder() : 0;
- }
+ FilterEffectBuilder* filterEffectBuilder() const;
chrishtr 2015/11/19 19:12:05 I think you don't actually need filterEffectBuilde
Stephen White 2015/11/19 19:53:28 Done.
+ FilterOutsets filterOutsets() const;
PaintLayerFilterInfo* filterInfo() const { return hasFilterInfo() ? PaintLayerFilterInfo::filterInfoForLayer(this) : 0; }
PaintLayerFilterInfo* ensureFilterInfo() { return PaintLayerFilterInfo::createFilterInfoForLayerIfNeeded(this); }

Powered by Google App Engine
This is Rietveld 408576698