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

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

Issue 2443933002: Move TreeBoundaryCrossingScopes to StyleEngine. (Closed)
Patch Set: Created 4 years, 2 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/StyleEngine.h
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h
index fdd320beddde2b5525df8a7fb4fbbefea2316f28..df11ed7a26ea4232257cb200de29f52bda2d52d8 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h
@@ -157,6 +157,11 @@ class CORE_EXPORT StyleEngine final
void didRemoveShadowRoot(ShadowRoot*);
void shadowRootRemovedFromDocument(ShadowRoot*);
void appendActiveAuthorStyleSheets();
+ void addTreeBoundaryCrossingScope(const TreeScope&);
+ const DocumentOrderedList& treeBoundaryCrossingScopes() const {
+ return m_treeBoundaryCrossingScopes;
+ }
+ void resetAuthorStyle(TreeScope&);
StyleResolver* resolver() const { return m_resolver.get(); }
@@ -303,6 +308,7 @@ class CORE_EXPORT StyleEngine final
bool m_documentScopeDirty = true;
UnorderedTreeScopeSet m_dirtyTreeScopes;
UnorderedTreeScopeSet m_activeTreeScopes;
+ DocumentOrderedList m_treeBoundaryCrossingScopes;
String m_preferredStylesheetSetName;
String m_selectedStylesheetSetName;

Powered by Google App Engine
This is Rietveld 408576698