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

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

Issue 1869773004: Move shadowCascadeOrder to Document from StyleEngine (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ASSERT and insert DCHECK_NE Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9dac03a9f5fc7670b72cd18a9c4f98d6caa4e45f..a2670ad92abcec7a515f0be9d15bd7e95f0cdd5b 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h
@@ -54,12 +54,6 @@ class StyleRuleFontFace;
class StyleSheet;
class StyleSheetContents;
-enum ShadowCascadeOrder {
- ShadowCascadeNone,
- ShadowCascadeV0,
- ShadowCascadeV1
-};
-
class CORE_EXPORT StyleEngine final : public GarbageCollectedFinalized<StyleEngine>, public CSSFontSelectorClient {
USING_GARBAGE_COLLECTED_MIXIN(StyleEngine);
public:
@@ -182,10 +176,6 @@ public:
StyleResolverStats* stats() { return m_styleResolverStats.get(); }
void setStatsEnabled(bool);
- ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; }
- void setShadowCascadeOrder(ShadowCascadeOrder);
- bool mayContainV0Shadow() const { return m_mayContainV0Shadow; }
-
DECLARE_VIRTUAL_TRACE();
private:
@@ -260,9 +250,6 @@ private:
bool m_ignorePendingStylesheets = false;
bool m_didCalculateResolver = false;
- bool m_mayContainV0Shadow = false;
-
- ShadowCascadeOrder m_shadowCascadeOrder = ShadowCascadeNone;
Member<StyleResolver> m_resolver;
StyleInvalidator m_styleInvalidator;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698