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

Unified Diff: Source/core/css/resolver/StyleResolverState.h

Issue 18859010: Move colorFromPrimitiveValue from StyleResolverState to TextLinkColors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/css/resolver/StyleResolverState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolverState.h
diff --git a/Source/core/css/resolver/StyleResolverState.h b/Source/core/css/resolver/StyleResolverState.h
index fd8571d0538d4188f5fdaa8c5f686d69f910d9de..f0c6885fe310c430614762eddafa83fb26817b06 100644
--- a/Source/core/css/resolver/StyleResolverState.h
+++ b/Source/core/css/resolver/StyleResolverState.h
@@ -56,7 +56,6 @@ public:
, m_elementAffectedByClassRules(false)
, m_applyPropertyToRegularStyle(true)
, m_applyPropertyToVisitedLinkStyle(false)
- , m_isMatchedPropertiesCacheable(true)
, m_lineHeightValue(0)
, m_fontDirty(false)
, m_hasUAAppearance(false)
@@ -68,11 +67,6 @@ public:
void initForStyleResolve(Document*, Element*, RenderStyle* parentStyle = 0, RenderRegion* regionForStyling = 0);
void clear();
- // FIXME: This function should live on TextLinkColors (or be passed a TextLinkColors),
- // but it has dependencies that need to be untangled first.
- // This method might change an internal state, i.e. m_isMatchedPropertiesCachable.
- Color resolveColorFromPrimitiveValue(CSSPrimitiveValue*, bool forVisitedLink = false);
-
Document* document() const { return m_element->document(); }
Element* element() const { return m_element; }
Element* styledElement() const { return m_styledElement; }
@@ -100,7 +94,6 @@ public:
void setApplyPropertyToVisitedLinkStyle(bool isApply) { m_applyPropertyToVisitedLinkStyle = isApply; }
bool applyPropertyToRegularStyle() const { return m_applyPropertyToRegularStyle; }
bool applyPropertyToVisitedLinkStyle() const { return m_applyPropertyToVisitedLinkStyle; }
- bool isMatchedPropertiesCacheable() const { return m_isMatchedPropertiesCacheable; }
void setLineHeightValue(CSSValue* value) { m_lineHeightValue = value; }
CSSValue* lineHeightValue() { return m_lineHeightValue; }
@@ -167,7 +160,6 @@ private:
bool m_applyPropertyToRegularStyle;
bool m_applyPropertyToVisitedLinkStyle;
- bool m_isMatchedPropertiesCacheable;
CSSValue* m_lineHeightValue;
bool m_fontDirty;
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/css/resolver/StyleResolverState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698