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

Unified Diff: chrome/browser/ui/webui/bug_report_ui.cc

Issue 8956050: Rename TabContents::controller() to GetController and put it into the WebContents interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: chrome/browser/ui/webui/bug_report_ui.cc
===================================================================
--- chrome/browser/ui/webui/bug_report_ui.cc (revision 115228)
+++ chrome/browser/ui/webui/bug_report_ui.cc (working copy)
@@ -356,8 +356,8 @@
bool BugReportHandler::Init() {
std::string page_url;
- if (tab_->controller().GetActiveEntry()) {
- page_url = tab_->controller().GetActiveEntry()->url().spec();
+ if (tab_->GetController().GetActiveEntry()) {
+ page_url = tab_->GetController().GetActiveEntry()->url().spec();
}
std::string params = page_url.substr(strlen(chrome::kChromeUIBugReportURL));
« no previous file with comments | « chrome/browser/ui/webui/active_downloads_ui.cc ('k') | chrome/browser/ui/webui/cloud_print_signin_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698