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

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

Issue 2490163002: Reland of "Tracking reference filter mutation via SVGElementProxy" (Closed)
Patch Set: Fix double observer unregistration; simplify scope selection; add tests Created 4 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 e29a5c04b279a7847b9768250bd718309e509b33..edda077fb96ec4880e7e43775f5cbeca25063792 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 HitTestResult;
class HitTestingTransformState;
@@ -481,8 +482,6 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
layoutObject()->style()->preserves3D();
}
- void filterNeedsPaintInvalidation();
-
// Returns |true| if any property that renders using filter operations is
// used (including, but not limited to, 'filter' and 'box-reflect').
bool hasFilterInducingProperty() const {
@@ -599,6 +598,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);
@@ -816,8 +816,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.
@@ -1070,7 +1068,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
@@ -1087,8 +1084,6 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
void removeAncestorOverflowLayer(const PaintLayer* removedLayer);
- void updateOrRemoveFilterClients();
-
void updatePaginationRecursive(bool needsPaginationUpdate = false);
void clearPaginationRecursive();
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698