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

Unified Diff: chrome/browser/external_tab_container_win.cc

Issue 7054008: Remove history dependency from content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/external_tab_container_win.cc
===================================================================
--- chrome/browser/external_tab_container_win.cc (revision 85923)
+++ chrome/browser/external_tab_container_win.cc (working copy)
@@ -18,6 +18,7 @@
#include "chrome/browser/debugger/devtools_toggle_action.h"
#include "chrome/browser/google/google_util.h"
#include "chrome/browser/history/history_types.h"
+#include "chrome/browser/history/history_tab_helper.h"
#include "chrome/browser/load_notification_details.h"
#include "chrome/browser/page_info_window.h"
#include "chrome/browser/profiles/profile.h"
@@ -371,9 +372,9 @@
details.did_replace_entry = false;
scoped_refptr<history::HistoryAddPageArgs> add_page_args(
- tab_contents_->tab_contents()->
+ tab_contents_->history_tab_helper()->
CreateHistoryAddPageArgs(url, details, params));
- tab_contents_->tab_contents()->
+ tab_contents_->history_tab_helper()->
UpdateHistoryForNavigation(add_page_args);
}
break;

Powered by Google App Engine
This is Rietveld 408576698