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

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

Issue 1853713002: Fixed ::slotted performance in pure v1 shadow documents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing Member<> in HeapVector template 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/StyleEngine.h
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h
index 35fd7e809d81253bb2ea4973037093986f157c66..e9a676617c2aac91311ca27f9b948bddeb8afc70 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h
@@ -186,6 +186,7 @@ public:
ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; }
void setShadowCascadeOrder(ShadowCascadeOrder);
+ bool mayContainV0Shadow() const { return m_mayContainV0Shadow; }
DECLARE_VIRTUAL_TRACE();
@@ -261,6 +262,7 @@ private:
bool m_ignorePendingStylesheets = false;
bool m_didCalculateResolver = false;
+ bool m_mayContainV0Shadow = false;
ShadowCascadeOrder m_shadowCascadeOrder = ShadowCascadeNone;

Powered by Google App Engine
This is Rietveld 408576698