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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorStyleSheet.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/inspector/InspectorStyleSheet.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
index 0be66582692a1b57fe0c7afa5f56acd8cc907e17..28ae694be91968ddf4315083f3623988c74164c9 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
@@ -389,7 +389,7 @@ void StyleSheetHandler::observeComment(unsigned startOffset,
CSSParser::parseDeclarationListForInspector(
parserContextForDocument(m_document), commentText, handler);
Vector<CSSPropertySourceData>& commentPropertyData =
- sourceData.first()->styleSourceData->propertyData;
+ sourceData.front()->styleSourceData->propertyData;
if (commentPropertyData.size() != 1)
return;
CSSPropertySourceData& propertyData = commentPropertyData.at(0);
@@ -1990,7 +1990,7 @@ InspectorStyleSheetForInlineStyle::ruleSourceData() {
&ruleSourceDataResult);
CSSParser::parseDeclarationListForInspector(
parserContextForDocument(&m_element->document()), text, handler);
- ruleSourceData = ruleSourceDataResult.first().release();
+ ruleSourceData = ruleSourceDataResult.front().release();
}
return ruleSourceData.release();
}
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698