summaryrefslogtreecommitdiffstats
path: root/content/browser/loader/resource_dispatcher_host_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/loader/resource_dispatcher_host_impl.cc')
-rw-r--r--content/browser/loader/resource_dispatcher_host_impl.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index c5e067d..61fc35b 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -679,15 +679,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) {