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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryExp.cpp

Issue 2470233009: WTF/std normalization: replace WTF::Vector::first() with ::front() (Closed)
Patch Set: rebase Created 4 years, 1 month 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/MediaQueryExp.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaQueryExp.cpp b/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
index 4db0f3ba1113e8a3837c7af8894ff94e998b19ad..e6f9e4def64c228195bbb6d8f0cd780119405221 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
+++ b/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
@@ -215,7 +215,7 @@ MediaQueryExp* MediaQueryExp::createIfValid(
if (tokenList.size() == 0 && featureWithoutValue(lowerMediaFeature)) {
// Valid, creates a MediaQueryExp with an 'invalid' MediaQueryExpValue
} else if (tokenList.size() == 1) {
- CSSParserToken token = tokenList.first();
+ CSSParserToken token = tokenList.front();
if (token.type() == IdentToken) {
CSSValueID ident = token.id();
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSGradientValue.cpp ('k') | third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698