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

Unified Diff: sky/engine/core/css/resolver/StyleResolverState.h

Issue 667003003: Remove most of visited link support. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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: sky/engine/core/css/resolver/StyleResolverState.h
diff --git a/sky/engine/core/css/resolver/StyleResolverState.h b/sky/engine/core/css/resolver/StyleResolverState.h
index fa56547bb244f4594046fb7ed3843e0aaaba2697..c90cf85ead6ca08704259c86d8edb1df5c034634 100644
--- a/sky/engine/core/css/resolver/StyleResolverState.h
+++ b/sky/engine/core/css/resolver/StyleResolverState.h
@@ -74,16 +74,6 @@ public:
const RenderStyle* parentStyle() const { return m_parentStyle.get(); }
RenderStyle* parentStyle() { return m_parentStyle.get(); }
- // FIXME: These are effectively side-channel "out parameters" for the various
- // map functions. When we map from CSS to style objects we use this state object
- // to track various meta-data about that mapping (e.g. if it's cache-able).
- // We need to move this data off of StyleResolverState and closer to the
- // objects it applies to. Possibly separating (immutable) inputs from (mutable) outputs.
- void setApplyPropertyToRegularStyle(bool isApply) { m_applyPropertyToRegularStyle = isApply; }
- void setApplyPropertyToVisitedLinkStyle(bool isApply) { m_applyPropertyToVisitedLinkStyle = isApply; }
- bool applyPropertyToRegularStyle() const { return m_applyPropertyToRegularStyle; }
- bool applyPropertyToVisitedLinkStyle() const { return m_applyPropertyToVisitedLinkStyle; }
-
// Holds all attribute names found while applying "content" properties that contain an "attr()" value.
Vector<AtomicString>& contentAttrValues() { return m_contentAttrValues; }
@@ -129,9 +119,6 @@ private:
OwnPtrWillBeMember<CSSAnimationUpdate> m_animationUpdate;
- bool m_applyPropertyToRegularStyle;
- bool m_applyPropertyToVisitedLinkStyle;
-
RawPtrWillBeMember<CSSValue> m_lineHeightValue;
FontBuilder m_fontBuilder;
« no previous file with comments | « sky/engine/core/css/resolver/StyleBuilderCustom.cpp ('k') | sky/engine/core/css/resolver/StyleResolverState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698