Index: chrome/test/base/test_html_dialog_observer.cc |
diff --git a/chrome/test/base/test_html_dialog_observer.cc b/chrome/test/base/test_html_dialog_observer.cc |
index 6b648d596ab44f6906ea5dc6823f4c5e7a5709be..1221fa40f1651ff585e2c1263a7822ba61c1fe32 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()->GetController())); |
+ &web_ui_->tab_contents()->controller())); |
break; |
case content::NOTIFICATION_LOAD_STOP: |
DCHECK(web_ui_); |
registrar_.Remove(this, content::NOTIFICATION_LOAD_STOP, |
content::Source<NavigationController>( |
- &web_ui_->tab_contents()->GetController())); |
+ &web_ui_->tab_contents()->controller())); |
done_ = true; |
// If the message loop is running stop it. |
if (running_) { |