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

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

Issue 2401343002: Tracking filter mutation via SVGElementProxy (Closed)
Patch Set: Rebase Created 4 years, 2 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 0d91b02867262c9016d0f1ee39703466e7af6fea..f7cb5345c4b2e5ec478913cedc466a8239f265d9 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -67,6 +67,7 @@ namespace blink {
class CompositedLayerMapping;
class CompositorFilterOperations;
class ComputedStyle;
+class FilterEffect;
class FilterOperations;
class HitTestRequest;
class HitTestResult;
@@ -592,6 +593,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
return m_rareData ? m_rareData->filterInfo.get() : nullptr;
}
PaintLayerFilterInfo& ensureFilterInfo();
+ void removeFilterInfo();
void updateFilters(const ComputedStyle* oldStyle,
const ComputedStyle& newStyle);
@@ -819,8 +821,6 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
void updateDescendantDependentFlags();
- void updateOrRemoveFilterEffect();
-
void updateSelfPaintingLayer();
// This is O(depth) so avoid calling this in loops. Instead use optimizations
// like those in PaintInvalidationState.
@@ -1073,7 +1073,6 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
void updateStackingNode();
FilterOperations addReflectionToFilterOperations(const ComputedStyle&) const;
- FilterEffect* updateFilterEffect() const;
// FIXME: We could lazily allocate our ScrollableArea based on style
// properties ('overflow', ...) but for now, we are always allocating it for
@@ -1090,8 +1089,6 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
void removeAncestorOverflowLayer(const PaintLayer* removedLayer);
- void updateOrRemoveFilterClients();
-
void updatePaginationRecursive(bool needsPaginationUpdate = false);
void clearPaginationRecursive();

Powered by Google App Engine
This is Rietveld 408576698