Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1160)

Unified Diff: content/browser/tab_contents/tab_contents.cc

Issue 7582004: Add load flag indicating a request is probably the result of a user gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to lkgr. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host.cc ('k') | net/base/load_flags_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents.cc
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index 8ff4d06d178d01ed3b7f7bf78baaf0609b3f0c3e..d25617547e48687cb67ba6ff81e4bf13d482e9f0 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -1742,7 +1742,7 @@ void TabContents::OnUserGesture() {
ResourceDispatcherHost* rdh =
content::GetContentClient()->browser()->GetResourceDispatcherHost();
if (rdh) // NULL in unittests.
- rdh->download_request_limiter()->OnUserGesture(this);
+ rdh->OnUserGesture(this);
}
void TabContents::OnIgnoredUIEvent() {
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host.cc ('k') | net/base/load_flags_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698