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

Unified Diff: third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.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/html/parser/CSSPreloadScannerTest.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp b/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
index 790dbcddd98c96448455fb41e1b8e0c54cf761d9..ff92e2b089bb724a7f831a1a3ecef1cca1e1c64a 100644
--- a/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
+++ b/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
@@ -60,7 +60,7 @@ TEST_F(CSSPreloadScannerTest, ScanFromResourceClient) {
EXPECT_EQ(1u, resourceClient->m_preloads.size());
EXPECT_EQ("http://127.0.0.1/preload.css",
- resourceClient->m_preloads.first()->resourceURL());
+ resourceClient->m_preloads.front()->resourceURL());
}
// Regression test for crbug.com/608310 where the client is destroyed but was
@@ -139,7 +139,7 @@ TEST_F(CSSPreloadScannerTest, DoNotExpectValidDocument) {
EXPECT_EQ(1u, resourceClient->m_preloads.size());
EXPECT_EQ("http://127.0.0.1/preload.css",
- resourceClient->m_preloads.first()->resourceURL());
+ resourceClient->m_preloads.front()->resourceURL());
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/html/TimeRanges.cpp ('k') | third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698