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

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

Issue 1455213006: [Not For Commit] Deferred building of PaintLayer filter-chain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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..3fff13c51e7744adacb2067d6fde16e9389066a7 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -418,15 +418,11 @@ public:
bool containsDirtyOverlayScrollbars() const { return m_containsDirtyOverlayScrollbars; }
void setContainsDirtyOverlayScrollbars(bool dirtyScrollbars) { m_containsDirtyOverlayScrollbars = dirtyScrollbars; }
- FilterOperations computeFilterOperations(const ComputedStyle&);
+ FilterOperations computeFilterOperations(const ComputedStyle&) const;
FilterOperations computeBackdropFilterOperations(const ComputedStyle&);
bool paintsWithFilters() const;
bool paintsWithBackdropFilters() const;
- FilterEffectBuilder* filterEffectBuilder() const
- {
- PaintLayerFilterInfo* filterInfo = this->filterInfo();
- return filterInfo ? filterInfo->builder() : 0;
- }
+ FilterEffectBuilder* filterEffectBuilder() const;
PaintLayerFilterInfo* filterInfo() const { return hasFilterInfo() ? PaintLayerFilterInfo::filterInfoForLayer(this) : 0; }
PaintLayerFilterInfo* ensureFilterInfo() { return PaintLayerFilterInfo::createFilterInfoForLayerIfNeeded(this); }
@@ -440,6 +436,7 @@ public:
void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo; }
void updateFilters(const ComputedStyle* oldStyle, const ComputedStyle& newStyle);
+ FilterOutsets filterOutsets() const;
Node* enclosingElement() const;

Powered by Google App Engine
This is Rietveld 408576698