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

Unified Diff: content/browser/web_contents/web_contents_impl_unittest.cc

Issue 2499313003: Set user_gesture bit at NavigationHandle creation time. (Closed)
Patch Set: rebase Created 4 years 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/loader/resource_dispatcher_host_unittest.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl_unittest.cc
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc
index d2aee22f5a546bdf7fff77efdfad2de233a402df..08413755370f5e435379a981d80141bf0148f686 100644
--- a/content/browser/web_contents/web_contents_impl_unittest.cc
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc
@@ -432,9 +432,8 @@ TEST_F(WebContentsImplTest, DirectNavigationToViewSourceWebUI) {
InitNavigateParams(&params, entry_id, true, kRewrittenURL,
ui::PAGE_TRANSITION_TYPED);
main_test_rfh()->PrepareForCommit();
- main_test_rfh()->OnMessageReceived(
- FrameHostMsg_DidStartProvisionalLoad(1, kRewrittenURL,
- base::TimeTicks::Now()));
+ main_test_rfh()->OnMessageReceived(FrameHostMsg_DidStartProvisionalLoad(
+ 1, kRewrittenURL, base::TimeTicks::Now(), NavigationGestureAuto));
main_test_rfh()->SendNavigateWithParams(&params);
// This is the virtual URL.
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698