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

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

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More assert fixes Created 4 years, 7 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: 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();
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698