Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
index 21375335366c7f380a4e378bb8fdbc4a98afa155..be2287add4a0cad26024f031a7996113540df2cf 100644 |
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
@@ -234,17 +234,6 @@ bool ChromeResourceDispatcherHostDelegate::AcceptAuthRequest( |
ResourceDispatcherHostLoginDelegate* |
ChromeResourceDispatcherHostDelegate::CreateLoginDelegate( |
net::AuthChallengeInfo* auth_info, net::URLRequest* request) { |
- std::string instant_header_value; |
- // For instant, return a NULL delegate. Auth navigations don't commit the load |
- // (the load remains pending) until the user cancels or succeeds in |
- // authorizing. Since we don't allow merging of WebContents with pending loads |
- // we disallow auth dialogs from showing during instant. Returning NULL does |
- // that. |
- // TODO: see if we can handle this case more robustly. |
- if (request->extra_request_headers().GetHeader( |
- InstantLoader::kInstantHeader, &instant_header_value) && |
- instant_header_value == InstantLoader::kInstantHeaderValue) |
- return NULL; |
return CreateLoginPrompt(auth_info, request); |
} |