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

Unified Diff: chromecast/browser/test/chromecast_browser_test.cc

Issue 818283002: Fix chromecast_browser_test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/test/chromecast_browser_test.cc
diff --git a/chromecast/browser/test/chromecast_browser_test.cc b/chromecast/browser/test/chromecast_browser_test.cc
index f537ace6a7d5bfb9d46c8beaf3a7c5530d1df455..34382f3b18ca94c8e6e823e50000858215c5c740 100644
--- a/chromecast/browser/test/chromecast_browser_test.cc
+++ b/chromecast/browser/test/chromecast_browser_test.cc
@@ -71,7 +71,9 @@ content::WebContents* ChromecastBrowserTest::CreateBrowser() {
window_.reset(new CastContentWindow);
gfx::Size initial_size(1280, 720);
- web_contents_ = window_->CreateWebContents(initial_size, browser_context());
+ web_contents_ = window_->CreateWebContents(
+ initial_size,
+ CastBrowserProcess::GetInstance()->browser_context());
window_->CreateWindowTree(initial_size, web_contents_.get());
return web_contents_.get();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698