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

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

Issue 2484153003: Use an SVGElementProxy in ReferenceClipPathOperation (Closed)
Patch Set: Rebase; fix comments; findElement 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 1789db0506d17d184607e56ad157c3123ec4c4cc..b8b098a2569199aa9d4e5562d34e8e4cddbb01da 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -49,8 +49,8 @@
#include "core/layout/ClipRectsCache.h"
#include "core/layout/LayoutBox.h"
#include "core/paint/PaintLayerClipper.h"
-#include "core/paint/PaintLayerFilterInfo.h"
#include "core/paint/PaintLayerFragment.h"
+#include "core/paint/PaintLayerResourceInfo.h"
#include "core/paint/PaintLayerScrollableArea.h"
#include "core/paint/PaintLayerStackingNode.h"
#include "core/paint/PaintLayerStackingNodeIterator.h"
@@ -138,7 +138,7 @@ struct PaintLayerRareData {
// composited or paints into its own backing.
CompositedLayerMapping* groupedMapping;
- Persistent<PaintLayerFilterInfo> filterInfo;
+ Persistent<PaintLayerResourceInfo> resourceInfo;
// The accumulated subpixel offset of a composited layer's composited bounds
// compared to absolute coordinates.
@@ -594,14 +594,15 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
bool hasFilterThatMovesPixels() const;
- PaintLayerFilterInfo* filterInfo() const {
- return m_rareData ? m_rareData->filterInfo.get() : nullptr;
+ PaintLayerResourceInfo* resourceInfo() const {
+ return m_rareData ? m_rareData->resourceInfo.get() : nullptr;
}
- PaintLayerFilterInfo& ensureFilterInfo();
- void removeFilterInfo();
+ PaintLayerResourceInfo& ensureResourceInfo();
void updateFilters(const ComputedStyle* oldStyle,
const ComputedStyle& newStyle);
+ void updateClipPath(const ComputedStyle* oldStyle,
+ const ComputedStyle& newStyle);
Node* enclosingNode() const;
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterPainter.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