Index: webkit/glue/weburlloader_impl.cc |
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc |
index 510be0e66cea5fb7cedfe4bbc4b45b30df3652ee..cc30f42312367ae6fe9b17f1aeb0f2a6d703a88c 100644 |
--- a/webkit/glue/weburlloader_impl.cc |
+++ b/webkit/glue/weburlloader_impl.cc |
@@ -219,7 +219,7 @@ class WebURLLoaderImpl::Context : public base::RefCounted<Context>, |
virtual void OnReceivedData(const char* data, int len); |
virtual void OnCompletedRequest( |
const URLRequestStatus& status, const std::string& security_info); |
- virtual std::string GetURLForDebugging(); |
+ virtual GURL GetURLForDebugging() const; |
private: |
friend class base::RefCounted<Context>; |
@@ -522,8 +522,8 @@ void WebURLLoaderImpl::Context::OnCompletedRequest( |
Release(); |
} |
-std::string WebURLLoaderImpl::Context::GetURLForDebugging() { |
- return request_.url().spec(); |
+GURL WebURLLoaderImpl::Context::GetURLForDebugging() const { |
+ return request_.url(); |
} |
void WebURLLoaderImpl::Context::HandleDataURL() { |