| Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| index 69c1526c331c6b624f462bc3a6dcc0f75f70eb10..0481380996096e2664edfce53789d9d95776f335 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -11,6 +11,7 @@ import org.chromium.base.CalledByNative;
|
| import org.chromium.base.JNINamespace;
|
| import org.chromium.content.browser.ContentViewCore;
|
| import org.chromium.content.common.CleanupReference;
|
| +import org.chromium.ui.gfx.NativeWindow;
|
|
|
| /**
|
| * Exposes the native AwContents class, and together these classes wrap the ContentViewCore
|
| @@ -57,7 +58,8 @@ public class AwContents {
|
| public AwContents(ViewGroup containerView,
|
| ContentViewCore.InternalAccessDelegate internalAccessAdapter,
|
| ContentViewCore contentViewCore, AwContentsClient contentsClient,
|
| - boolean privateBrowsing, boolean isAccessFromFileURLsGrantedByDefault) {
|
| + NativeWindow nativeWindow, boolean privateBrowsing,
|
| + boolean isAccessFromFileURLsGrantedByDefault) {
|
| mNativeAwContents = nativeInit(contentsClient.getWebContentsDelegate(), privateBrowsing);
|
| mContentViewCore = contentViewCore;
|
| mContentsClient = contentsClient;
|
| @@ -65,7 +67,8 @@ public class AwContents {
|
|
|
| // TODO: upstream the needed ContentViewCore initialization method.
|
| // mContentViewCore.initialize(containerView, internalAccessAdapter, false,
|
| - // nativeGetWebContents(mNativeAwContents), isAccessFromFileURLsGrantedByDefault);
|
| + // nativeGetWebContents(mNativeAwContents), nativeWindow,
|
| + // isAccessFromFileURLsGrantedByDefault);
|
| mContentViewCore.setContentViewClient(contentsClient);
|
| }
|
|
|
|
|