Index: chrome/test/base/test_html_dialog_observer.cc |
=================================================================== |
--- chrome/test/base/test_html_dialog_observer.cc (revision 115228) |
+++ chrome/test/base/test_html_dialog_observer.cc (working copy) |
@@ -48,13 +48,13 @@ |
// 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_) { |