summaryrefslogtreecommitdiff
path: root/Source/WebKit/android/WebCoreSupport/WebRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/android/WebCoreSupport/WebRequest.cpp')
-rw-r--r--Source/WebKit/android/WebCoreSupport/WebRequest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebKit/android/WebCoreSupport/WebRequest.cpp b/Source/WebKit/android/WebCoreSupport/WebRequest.cpp
index dda0ee191..144a5ee3c 100644
--- a/Source/WebKit/android/WebCoreSupport/WebRequest.cpp
+++ b/Source/WebKit/android/WebCoreSupport/WebRequest.cpp
@@ -391,6 +391,7 @@ void WebRequest::OnReceivedRedirect(net::URLRequest* newRequest, const GURL& new
ASSERT(m_loadState < Response, "Redirect after receiving response");
ASSERT(newRequest && newRequest->status().is_success(), "Invalid redirect");
+ m_url = newUrl.spec();
OwnPtr<WebResponse> webResponse(new WebResponse(newRequest));
webResponse->setUrl(newUrl.spec());
m_urlLoader->maybeCallOnMainThread(NewRunnableMethod(