Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4387)

Unified Diff: chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_browsertest.cc

Issue 1243173003: [MediaRouter] Moved the code useful for Android to MediaRouterDialogController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@build-media-router-android
Patch Set: Fixed the unit test Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_);
}

Powered by Google App Engine
This is Rietveld 408576698