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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp

Issue 2459003003: WTF/std normalization: replace WTF::Vector::removeLast with ::pop_back (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 7d306bfe5bbeb3771388d430a3c56a62ff8c5bb9..3b2317a7695cab5f6dae93310bd4a18a8bac0cd5 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
@@ -190,7 +190,7 @@ void StyleSheetHandler::startRuleHeader(StyleRule::RuleType type,
unsigned offset) {
// Pop off data for a previous invalid rule.
if (m_currentRuleData)
- m_currentRuleDataStack.removeLast();
+ m_currentRuleDataStack.pop_back();
RefPtr<CSSRuleSourceData> data = CSSRuleSourceData::create(type);
data->ruleHeaderRange.start = offset;
@@ -258,7 +258,7 @@ PassRefPtr<CSSRuleSourceData> StyleSheetHandler::popRuleData() {
ASSERT(!m_currentRuleDataStack.isEmpty());
m_currentRuleData = nullptr;
RefPtr<CSSRuleSourceData> data = m_currentRuleDataStack.last().get();
- m_currentRuleDataStack.removeLast();
+ m_currentRuleDataStack.pop_back();
return data.release();
}

Powered by Google App Engine
This is Rietveld 408576698