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

Unified Diff: third_party/WebKit/Source/core/css/CSSVariableData.h

Issue 1920583002: NOT FOR LANDING: Hack up CSSParser for speed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing consts. 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
Index: third_party/WebKit/Source/core/css/CSSVariableData.h
diff --git a/third_party/WebKit/Source/core/css/CSSVariableData.h b/third_party/WebKit/Source/core/css/CSSVariableData.h
index 9d87799714d82b33022430387f0294ed0c9b07ab..b2306c7be9e00bec0fcf4b55d140b01783b57f31 100644
--- a/third_party/WebKit/Source/core/css/CSSVariableData.h
+++ b/third_party/WebKit/Source/core/css/CSSVariableData.h
@@ -30,7 +30,7 @@ public:
return adoptRef(new CSSVariableData(resolvedTokens, unresolvedData.m_backingString));
}
- CSSParserTokenRange tokenRange() { return m_tokens; }
+ const CSSParserTokenRange tokenRange() const { return CSSParserTokenRange(m_tokens.begin(), m_tokens.end()); }
const Vector<CSSParserToken>& tokens() const { return m_tokens; }

Powered by Google App Engine
This is Rietveld 408576698