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

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

Issue 1803933002: Use correct cascading order for Shadow DOM v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix inline style Created 4 years, 9 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 960fd2d9e3cbe610f247d7a89c81d810441e137c..b9b32348da8d49db68594c9bd6f8f5bc6295f6c2 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -786,6 +786,9 @@ public:
String designMode() const;
void setDesignMode(const String&);
+ bool useCascadeOrderForShadowDOMV1() const { return m_useCascadeOrderForShadowDOMV1; }
+ void setUseCascadeOrderForShadowDOMV1() { m_useCascadeOrderForShadowDOMV1 = true; }
+
Document* parentDocument() const;
Document& topDocument() const;
WeakPtrWillBeRawPtr<Document> contextDocument();
@@ -1297,6 +1300,8 @@ private:
bool m_designMode;
bool m_isRunningExecCommand;
+ bool m_useCascadeOrderForShadowDOMV1;
rune 2016/03/17 10:59:02 I think StyleEngine would be a better place for th
kochi 2016/03/18 09:00:52 Done.
+
WillBeHeapHashSet<RawPtrWillBeWeakMember<const LiveNodeListBase>> m_listsInvalidatedAtDocument;
#if ENABLE(OILPAN)
// Oilpan keeps track of all registered NodeLists.

Powered by Google App Engine
This is Rietveld 408576698