| 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 94b0eae75dacaf9cc1ede495ddde70efedf4a9c9..afa8602889ec79e148fb849fc1b3adcdf3f471a4 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
|
| @@ -56,7 +57,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;
|
| @@ -64,7 +66,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);
|
| }
|
|
|
|
|