Index: third_party/WebKit/Source/core/dom/Document.h |
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h |
index 863fb9d7b50696e1bae04243a3cc0cfff9b3a5ae..e6d31175d91cfc94a8d50cd80b1bbf5dfbfa8e49 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -176,13 +176,6 @@ struct IconURL; |
using MouseEventWithHitTestResults = EventWithHitTestResults<PlatformMouseEvent>; |
using ExceptionCode = int; |
-enum StyleResolverUpdateMode { |
- // Discards the StyleResolver and rebuilds it. |
- FullStyleUpdate, |
- // Attempts to use StyleInvalidationAnalysis to avoid discarding the entire StyleResolver. |
- AnalyzedStyleUpdate |
-}; |
- |
enum NodeListInvalidationType { |
DoNotInvalidateOnAttributeChanges = 0, |
InvalidateOnClassAttrChange, |
@@ -1026,8 +1019,6 @@ public: |
bool hasViewportUnits() const { return m_hasViewportUnits; } |
void notifyResizeForViewportUnits(); |
- void updateStyleInvalidationIfNeeded(); |
- |
DECLARE_VIRTUAL_TRACE(); |
DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
@@ -1130,6 +1121,7 @@ private: |
void updateUseShadowTreesIfNeeded(); |
void evaluateMediaQueryListIfNeeded(); |
+ void updateStyleInvalidation(); |
void updateStyle(); |
void notifyLayoutTreeOfSubtreeChanges(); |