summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/test_html_dialog_observer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/base/test_html_dialog_observer.cc')
-rw-r--r--chrome/test/base/test_html_dialog_observer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/base/test_html_dialog_observer.cc b/chrome/test/base/test_html_dialog_observer.cc
index 1221fa4..6b648d5 100644
--- a/chrome/test/base/test_html_dialog_observer.cc
+++ b/chrome/test/base/test_html_dialog_observer.cc
@@ -48,13 +48,13 @@ void TestHtmlDialogObserver::Observe(
// navigate in this method, ensuring that this is not a race condition.
registrar_.Add(this, content::NOTIFICATION_LOAD_STOP,
content::Source<NavigationController>(
- &web_ui_->tab_contents()->controller()));
+ &web_ui_->tab_contents()->GetController()));
break;
case content::NOTIFICATION_LOAD_STOP:
DCHECK(web_ui_);
registrar_.Remove(this, content::NOTIFICATION_LOAD_STOP,
content::Source<NavigationController>(
- &web_ui_->tab_contents()->controller()));
+ &web_ui_->tab_contents()->GetController()));
done_ = true;
// If the message loop is running stop it.
if (running_) {