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

Unified Diff: Source/core/css/parser/CSSTokenizer.h

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ToTed Created 5 years, 4 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: Source/core/css/parser/CSSTokenizer.h
diff --git a/Source/core/css/parser/CSSTokenizer.h b/Source/core/css/parser/CSSTokenizer.h
index 97349c646d55cf85b6de79c87d18d2bd7de70965..f0935448be46e572576571ae1b93ed536c65a802 100644
--- a/Source/core/css/parser/CSSTokenizer.h
+++ b/Source/core/css/parser/CSSTokenizer.h
@@ -24,6 +24,7 @@ class CORE_EXPORT CSSTokenizer {
WTF_MAKE_FAST_ALLOCATED(CSSTokenizer);
public:
class CORE_EXPORT Scope {
+ WTF_MAKE_FAST_ALLOCATED(Scope);
public:
Scope(const String&);
Scope(const String&, CSSParserObserverWrapper&); // For the inspector
@@ -40,7 +41,6 @@ public:
friend class CSSTokenizer;
};
-
private:
CSSTokenizer(CSSTokenizerInputStream&, Scope&);
@@ -58,12 +58,13 @@ private:
CSSParserToken consumeUrlToken();
void consumeBadUrlRemnants();
- void consumeUntilNonWhitespace();
+ unsigned consumeUntilNonWhitespace();
void consumeSingleWhitespaceIfNext();
void consumeUntilCommentEndFound();
bool consumeIfNext(UChar);
CSSParserString consumeName();
+ CSSParserString lastConsumedCharacter();
UChar32 consumeEscape();
bool nextTwoCharsAreValidEscape();

Powered by Google App Engine
This is Rietveld 408576698