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

Unified Diff: chromecast/browser/android/cast_window_android.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
Index: chromecast/browser/android/cast_window_android.cc
diff --git a/chromecast/browser/android/cast_window_android.cc b/chromecast/browser/android/cast_window_android.cc
index 8e4bfae5b81b541bc046178010822bf780926016..95966aa563c9e82b50c6d2824bc63fcc9b006be8 100644
--- a/chromecast/browser/android/cast_window_android.cc
+++ b/chromecast/browser/android/cast_window_android.cc
@@ -61,8 +61,7 @@ CastWindowAndroid::CastWindowAndroid(content::BrowserContext* browser_context)
}
void CastWindowAndroid::Initialize() {
- web_contents_ =
- content_window_->CreateWebContents(gfx::Size(), browser_context_);
+ web_contents_ = content_window_->CreateWebContents(browser_context_);
web_contents_->SetDelegate(this);
content::WebContentsObserver::Observe(web_contents_.get());

Powered by Google App Engine
This is Rietveld 408576698