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 b44b36431bc352be722f4f4a9a2bd0b7447953e5..5dff0e4339ed1f68d0c174ac594353ca62e2209c 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h |
@@ -177,6 +177,9 @@ public: |
StyleResolverStats* stats() { return m_styleResolverStats.get(); } |
void setStatsEnabled(bool); |
+ bool useCascadeOrderForShadowDOMV1() const { return m_useCascadeOrderForShadowDOMV1; } |
+ void setUseCascadeOrderForShadowDOMV1() { m_useCascadeOrderForShadowDOMV1 = true; } |
rune
2016/03/18 12:04:12
We are not recalculating style setting this flag,
kochi
2016/03/22 08:16:59
Very good point.
I've added the enum and set style
|
+ |
DECLARE_VIRTUAL_TRACE(); |
private: |
@@ -251,6 +254,9 @@ private: |
bool m_ignorePendingStylesheets = false; |
bool m_didCalculateResolver = false; |
+ |
+ bool m_useCascadeOrderForShadowDOMV1 = false; |
+ |
OwnPtrWillBeMember<StyleResolver> m_resolver; |
StyleInvalidator m_styleInvalidator; |