Index: chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_browsertest.cc |
diff --git a/chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_browsertest.cc b/chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_browsertest.cc |
index 18733d1f6a27e9edd8c521189edcb15c467a8966..7362141a5aa5f0423f9fd7becd4048f677b1c9eb 100644 |
--- a/chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_browsertest.cc |
+++ b/chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_browsertest.cc |
@@ -45,7 +45,8 @@ class MediaRouterDialogControllerBrowserTest : public InProcessBrowserTest { |
ASSERT_TRUE(dialog_controller_); |
// Get the media router dialog for the initiator. |
- media_router_dialog_ = dialog_controller_->ShowMediaRouterDialog(); |
+ dialog_controller_->ShowMediaRouterDialog(); |
+ media_router_dialog_ = dialog_controller_->GetMediaRouterDialog(); |
ASSERT_TRUE(media_router_dialog_); |
} |