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

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

Issue 2502413004: WTF/std normalization: replace WTF::Vector::last with ::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/css/StyleSheetContents.cpp
diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.cpp b/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
index 668a264c1c175bfd0a32ecb132a6339163fc3994..19742315641621c426910665c00411a7018ffd8c 100644
--- a/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
+++ b/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
@@ -163,8 +163,8 @@ void StyleSheetContents::parserAppendRule(StyleRuleBase* rule) {
if (importRule->mediaQueries())
setHasMediaQueries();
m_importRules.append(importRule);
- m_importRules.last()->setParentStyleSheet(this);
- m_importRules.last()->requestStyleSheet();
+ m_importRules.back()->setParentStyleSheet(this);
+ m_importRules.back()->requestStyleSheet();
return;
}

Powered by Google App Engine
This is Rietveld 408576698