summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing/print_dialog_cloud.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/printing/print_dialog_cloud.cc')
-rw-r--r--chrome/browser/printing/print_dialog_cloud.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc
index 6823c06..d0f2248 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -299,7 +299,7 @@ void CloudPrintFlowHandler::RegisterMessages() {
// Register for appropriate notifications, and re-direct the URL
// to the real server URL, now that we've gotten an HTML dialog
// going.
- NavigationController* controller = &web_ui_->tab_contents()->controller();
+ NavigationController* controller = &web_ui_->tab_contents()->GetController();
NavigationEntry* pending_entry = controller->pending_entry();
if (pending_entry) {
Profile* profile = Profile::FromWebUI(web_ui_);