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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.cc

Issue 10963018: Rework arguments of HistoryService::AddPage() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows compile Created 8 years, 3 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
Index: chrome/browser/ui/views/external_tab_container_win.cc
diff --git a/chrome/browser/ui/views/external_tab_container_win.cc b/chrome/browser/ui/views/external_tab_container_win.cc
index 4753593ee5a02032526cce95e82325a5c3eb0079..9e8d8fac3969650604cb48a23977fd6d81713ef4 100644
--- a/chrome/browser/ui/views/external_tab_container_win.cc
+++ b/chrome/browser/ui/views/external_tab_container_win.cc
@@ -434,9 +434,9 @@ WebContents* ExternalTabContainerWin::OpenURLFromTab(
content::LoadCommittedDetails details;
details.did_replace_entry = false;
- scoped_refptr<history::HistoryAddPageArgs> add_page_args(
+ const history::HistoryAddPageArgs& add_page_args =
tab_contents_->history_tab_helper()->
- CreateHistoryAddPageArgs(params.url, details, nav_params));
+ CreateHistoryAddPageArgs(params.url, details, nav_params);
tab_contents_->history_tab_helper()->
UpdateHistoryForNavigation(add_page_args);
« no previous file with comments | « chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc ('k') | chrome/browser/ui/webui/bidi_checker_web_ui_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698