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

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

Issue 2401343002: Tracking filter mutation via SVGElementProxy (Closed)
Patch Set: Fix fullscreen 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 6ad2d20bb56da59d9cafc49d91fa7e5d016a897c..6c33cfc448eaa3aa09752f5ff9fbebc82bcdc828 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;
@@ -482,8 +483,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 {
@@ -594,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);
@@ -826,8 +826,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.
@@ -1080,7 +1078,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
@@ -1097,8 +1094,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