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

Unified Diff: Source/core/dom/Document.h

Issue 423823004: Add support for SVG Clip paths in HTML (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed LayoutTests and Aligned with review comments Created 6 years, 4 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: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index d53d3dbf246d877d9428c833585e3309679ed34b..03e0d9e8b8e257ad647cf035aec8629e2aa7c44a 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -432,8 +432,8 @@ public:
// FIXME: SVG filters should change to store the filter on the RenderStyle
// instead of the RenderObject so we can get rid of this hack.
- void scheduleSVGFilterLayerUpdateHack(Element&);
- void unscheduleSVGFilterLayerUpdateHack(Element&);
+ void scheduleSVGEffectsLayerUpdateHack(Element&);
+ void unscheduleSVGEffectsLayerUpdateHack(Element&);
void evaluateMediaQueryList();
@@ -1051,7 +1051,10 @@ public:
virtual void trace(Visitor*) OVERRIDE;
- bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdateSVGFilterElements.size(); }
+ bool hasSVGEffectsElementsRequiringLayerUpdate() const
+ {
+ return m_layerUpdateSVGEffectsElements.size();
+ }
void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; }
protected:
@@ -1383,7 +1386,7 @@ private:
WillBeHeapHashSet<RefPtrWillBeMember<Element> > m_associatedFormControls;
WillBeHeapHashSet<RawPtrWillBeMember<SVGUseElement> > m_useElementsNeedingUpdate;
- WillBeHeapHashSet<RawPtrWillBeMember<Element> > m_layerUpdateSVGFilterElements;
+ WillBeHeapHashSet<RawPtrWillBeMember<Element> > m_layerUpdateSVGEffectsElements;
bool m_hasViewportUnits;

Powered by Google App Engine
This is Rietveld 408576698