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

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

Issue 209503003: Convert MediaQueryTokenizer's codepoints array to be static data (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Dynamic file name in comment Created 6 years, 9 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/core_generated.gyp ('k') | Source/core/css/parser/MediaQueryTokenizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/MediaQueryTokenizer.h
diff --git a/Source/core/css/parser/MediaQueryTokenizer.h b/Source/core/css/parser/MediaQueryTokenizer.h
index 73df890b0de18ebc56b12cd962ae9e411e359f30..850cb050cfc2f023d43c146ba90bb318f3f13bff 100644
--- a/Source/core/css/parser/MediaQueryTokenizer.h
+++ b/Source/core/css/parser/MediaQueryTokenizer.h
@@ -20,10 +20,7 @@ class MediaQueryTokenizer {
WTF_MAKE_FAST_ALLOCATED;
public:
static void tokenize(String, Vector<MediaQueryToken>&);
-
private:
- class CodePoints;
-
MediaQueryTokenizer(MediaQueryInputStream&);
MediaQueryToken nextToken();
@@ -48,6 +45,8 @@ private:
typedef MediaQueryToken (MediaQueryTokenizer::*CodePoint)(UChar);
+ static const CodePoint codePoints[];
+
MediaQueryToken whiteSpace(UChar);
MediaQueryToken leftParenthesis(UChar);
MediaQueryToken rightParenthesis(UChar);
@@ -62,8 +61,6 @@ private:
MediaQueryToken nameStart(UChar);
MediaQueryToken endOfFile(UChar);
- CodePoints* codePoints();
-
MediaQueryInputStream& m_input;
};
« no previous file with comments | « Source/core/core_generated.gyp ('k') | Source/core/css/parser/MediaQueryTokenizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698