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 4037cbd70347c2502cde8ad58399cb255c5c6bc3..52d49f3089a34a2aaded762e129ea36d8aeb1e0c 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -182,14 +182,6 @@ 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, |
@@ -1233,7 +1225,6 @@ class CORE_EXPORT Document : public ContainerNode, |
void notifyResizeForViewportUnits(); |
void updateActiveStyle(); |
- void updateStyleInvalidationIfNeeded(); |
DECLARE_VIRTUAL_TRACE(); |
@@ -1367,6 +1358,7 @@ class CORE_EXPORT Document : public ContainerNode, |
void updateUseShadowTreesIfNeeded(); |
void evaluateMediaQueryListIfNeeded(); |
+ void updateStyleInvalidationIfNeeded(); |
void updateStyle(); |
void notifyLayoutTreeOfSubtreeChanges(); |