Chromium Code Reviews| Index: Source/core/dom/Document.h |
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
| index fd6775c0781c13bbb5b6451610b2ad4e0ae568d7..2b9bd5f6f648136d2724469e17352e5caf6e15d1 100644 |
| --- a/Source/core/dom/Document.h |
| +++ b/Source/core/dom/Document.h |
| @@ -439,6 +439,12 @@ 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&); |
|
ojan
2014/03/24 19:39:15
The overloading of layer to mean RenderLayer and G
|
| + |
| void evaluateMediaQueryList(); |
| FormController& formController(); |
| @@ -1076,6 +1082,7 @@ private: |
| void inheritHtmlAndBodyElementStyles(StyleRecalcChange); |
| + bool dirtyElementsForLayerUpdate(); |
| void updateDistributionIfNeeded(); |
| void updateUseShadowTreesIfNeeded(); |
| @@ -1348,6 +1355,7 @@ private: |
| HashSet<RefPtr<Element> > m_associatedFormControls; |
| HashSet<SVGUseElement*> m_useElementsNeedingUpdate; |
| + HashSet<Element*> m_layerUpdateElements; |
| bool m_hasViewportUnits; |