Index: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java |
diff --git a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java |
index 9ad13c2d7064060ee65cf606543fb4a6b6930f50..ed85dcf892483b583b65acf906b13f86123be53c 100644 |
--- a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java |
+++ b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java |
@@ -127,7 +127,7 @@ public class CastWindowAndroid extends LinearLayout { |
private void initFromNativeWebContents(WebContents webContents, int renderProcessId) { |
Context context = getContext(); |
mContentViewCore = new ContentViewCore(context); |
- ContentView view = ContentView.newInstance(context, mContentViewCore); |
+ ContentView view = new ContentView(context, mContentViewCore); |
mContentViewCore.initialize(view, view, webContents, mWindow); |
mWebContents = mContentViewCore.getWebContents(); |
mNavigationController = mWebContents.getNavigationController(); |