Index: content/browser/loader/resource_dispatcher_host_impl.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc |
index 41bae2d3be287a9eb2f66b5a2e17a8dca0c8ea50..b132d953bb919bd126d1f52aa5e0a89e4a83ba11 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -685,15 +685,8 @@ bool ResourceDispatcherHostImpl::HandleExternalProtocol(ResourceLoader* loader, |
if (job_factory->IsHandledURL(url)) |
return false; |
- bool initiated_by_user_gesture = |
- (loader->request()->load_flags() & net::LOAD_MAYBE_USER_GESTURE) != 0; |
- bool handled = delegate_->HandleExternalProtocol(url, info->GetChildID(), |
- info->GetRouteID(), |
- initiated_by_user_gesture); |
- // Consume the user gesture if the external protocol dialog is shown. |
- if (handled) |
- last_user_gesture_time_ = base::TimeTicks(); |
- return handled; |
+ return delegate_->HandleExternalProtocol( |
+ url, info->GetChildID(), info->GetRouteID()); |
} |
void ResourceDispatcherHostImpl::DidStartRequest(ResourceLoader* loader) { |