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

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

Issue 1176393005: Remove usage of CSSParserValue in MediaQueryParser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 6 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/MediaQueryExp.cpp ('k') | Source/core/css/parser/MediaQueryParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/MediaQueryParser.h
diff --git a/Source/core/css/parser/MediaQueryParser.h b/Source/core/css/parser/MediaQueryParser.h
index fdc232b94a82e79103f726f68af80cde94799563..543777e0395cc00dfe448c36f92929548c2dfdd9 100644
--- a/Source/core/css/parser/MediaQueryParser.h
+++ b/Source/core/css/parser/MediaQueryParser.h
@@ -11,7 +11,6 @@
#include "core/css/MediaQueryExp.h"
#include "core/css/parser/CSSParserToken.h"
#include "core/css/parser/CSSParserTokenRange.h"
-#include "core/css/parser/CSSParserValues.h"
#include "core/css/parser/MediaQueryBlockWatcher.h"
#include "wtf/text/WTFString.h"
@@ -26,14 +25,14 @@ private:
String m_mediaType;
OwnPtrWillBeMember<ExpressionHeapVector> m_expressions;
String m_mediaFeature;
- CSSParserValueList m_valueList;
+ Vector<CSSParserToken, 4> m_valueList;
bool m_mediaTypeSet;
public:
MediaQueryData();
void clear();
bool addExpression();
- bool tryAddParserValue(CSSParserTokenType, const CSSParserToken&);
+ bool tryAddParserToken(CSSParserTokenType, const CSSParserToken&);
void setMediaType(const String&);
PassOwnPtrWillBeRawPtr<MediaQuery> takeMediaQuery();
« no previous file with comments | « Source/core/css/MediaQueryExp.cpp ('k') | Source/core/css/parser/MediaQueryParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698