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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 2461043003: Fix for the RedirectTest.ClientServerServer test. (Closed)
Patch Set: Fix presubmit Created 4 years, 2 months 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 6deae0530fb5b2f39bc9336180763da458615e88..671ee291a3b18ef36352537dc4237d2c1ce5d0fb 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -611,6 +611,10 @@ void DocumentLoader::appendRedirect(const KURL& url) {
m_redirectChain.append(url);
}
+void DocumentLoader::prependRedirect(const KURL& url) {
+ m_redirectChain.prepend(url);
+}
+
void DocumentLoader::detachFromFrame() {
DCHECK(m_frame);

Powered by Google App Engine
This is Rietveld 408576698