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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.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/loader/DocumentLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index 732af0b01192b0ea6807ec53602075730cca17a2..a52e44bdbe3ac19e5b51410c5388d56c73948e09 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -401,7 +401,7 @@ void DocumentLoader::cancelLoadAfterXFrameOptionsOrCSPDenied(
KURL blockedURL = SecurityOrigin::urlWithUniqueSecurityOrigin();
m_originalRequest.setURL(blockedURL);
m_request.setURL(blockedURL);
- m_redirectChain.removeLast();
+ m_redirectChain.pop_back();
appendRedirect(blockedURL);
m_response = ResourceResponse(blockedURL, "text/html", 0, nullAtom, String());
finishedLoading(monotonicallyIncreasingTime());

Powered by Google App Engine
This is Rietveld 408576698