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

Unified Diff: chromecast/browser/android/cast_window_android.cc

Issue 879073002: Chromecast Android buildfix: use new ContentViewCore.initialize API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e53b18521bf0f4979dbaa9577f0d6be138f9025c..8503fd6671306195b4aa96fc49a404504dc773eb 100644
--- a/chromecast/browser/android/cast_window_android.cc
+++ b/chromecast/browser/android/cast_window_android.cc
@@ -69,7 +69,7 @@ CastWindowAndroid* CastWindowAndroid::CreateCastWindowAndroid(
web_contents->SetDelegate(shell);
Java_CastWindowAndroid_initFromNativeWebContents(
- env, shell->java_object_.obj(), reinterpret_cast<jint>(web_contents),
+ env, shell->java_object_.obj(), web_contents->GetJavaWebContents().obj(),
web_contents->GetRenderProcessHost()->GetID());
// Enabling hole-punching also requires runtime renderer preference
« no previous file with comments | « chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698