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

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

Issue 319613004: Rename scheduleLayerUpdate now that it's only used for SVG filters. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rename all the things Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 985f673bbe2a3954b64c19408e2f5dd94df9f42b..f27058f20796d2f9a7ed182f8a8715288b5dd8aa 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -454,11 +454,10 @@ public:
void scheduleUseShadowTreeUpdate(SVGUseElement&);
void unscheduleUseShadowTreeUpdate(SVGUseElement&);
- // FIXME: This should be eliminated and elements that use it should be made to
- // always have a layer so they don't need to go about creating one from reasons
- // external to style.
- void scheduleLayerUpdate(Element&);
- void unscheduleLayerUpdate(Element&);
+ // 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 evaluateMediaQueryList();
@@ -1073,7 +1072,7 @@ public:
virtual void trace(Visitor*) OVERRIDE;
- bool hasElementsRequiringLayerUpdate() const { return m_layerUpdateElements.size(); }
+ bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdateSVGFilterElements.size(); }
void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; }
protected:
@@ -1409,7 +1408,7 @@ private:
WillBeHeapHashSet<RefPtrWillBeMember<Element> > m_associatedFormControls;
HashSet<SVGUseElement*> m_useElementsNeedingUpdate;
- HashSet<Element*> m_layerUpdateElements;
+ HashSet<Element*> m_layerUpdateSVGFilterElements;
bool m_hasViewportUnits;
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698