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

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

Issue 1972433002: [Chromecast] Handle device scale factor correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test compile error Created 4 years, 7 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
« no previous file with comments | « chromecast/browser/service/cast_service_simple.cc ('k') | chromecast/graphics/cast_screen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/test/chromecast_browser_test_helper_default.cc
diff --git a/chromecast/browser/test/chromecast_browser_test_helper_default.cc b/chromecast/browser/test/chromecast_browser_test_helper_default.cc
index 2c5bf496e7c7d75ef1e61170b088a842b826eb4a..3830fc42ffc82c71fc381237fc2bf98b635d1512 100644
--- a/chromecast/browser/test/chromecast_browser_test_helper_default.cc
+++ b/chromecast/browser/test/chromecast_browser_test_helper_default.cc
@@ -22,11 +22,10 @@ class DefaultHelper : public ChromecastBrowserTestHelper {
content::WebContents* NavigateToURL(const GURL& url) override {
window_.reset(new CastContentWindow);
- gfx::Size initial_size(1280, 720);
web_contents_ = window_->CreateWebContents(
- initial_size, CastBrowserProcess::GetInstance()->browser_context());
- window_->CreateWindowTree(initial_size, web_contents_.get());
+ CastBrowserProcess::GetInstance()->browser_context());
+ window_->CreateWindowTree(web_contents_.get());
content::WaitForLoadStop(web_contents_.get());
content::TestNavigationObserver same_tab_observer(web_contents_.get(), 1);
« no previous file with comments | « chromecast/browser/service/cast_service_simple.cc ('k') | chromecast/graphics/cast_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698