Index: content/browser/speech/speech_input_browsertest.cc |
=================================================================== |
--- content/browser/speech/speech_input_browsertest.cc (revision 115228) |
+++ content/browser/speech/speech_input_browsertest.cc (working copy) |
@@ -163,7 +163,7 @@ |
TabContents* tab_contents = browser()->GetSelectedTabContents(); |
ui_test_utils::WindowedNotificationObserver observer( |
content::NOTIFICATION_LOAD_STOP, |
- content::Source<NavigationController>(&tab_contents->controller())); |
+ content::Source<NavigationController>(&tab_contents->GetController())); |
tab_contents->GetRenderViewHost()->ForwardMouseEvent(mouse_event); |
mouse_event.type = WebKit::WebInputEvent::MouseUp; |
tab_contents->GetRenderViewHost()->ForwardMouseEvent(mouse_event); |