| Index: chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java b/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
| index 7a124fbf2cf900a782b03db29a863bb4b04daa9f..7e1fb81fbad42dfd5228e96286282990de47ab9a 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
| @@ -56,7 +56,7 @@ public class TabBase {
|
| }
|
| mContentView = ContentView.newInstance(context, nativeWebContentsPtr, mWindow,
|
| ContentView.PERSONALITY_CHROME);
|
| - mNativeTabBaseAndroidImpl = nativeInit(nativeWebContentsPtr);
|
| + mNativeTabBaseAndroidImpl = nativeInit(nativeWebContentsPtr, window.getNativePointer());
|
|
|
| // Build the WebContentsDelegate
|
| mWebContentsDelegate = delegate == null ? new ChromeWebContentsDelegateAndroid() : delegate;
|
| @@ -131,7 +131,7 @@ public class TabBase {
|
| }
|
| }
|
|
|
| - private native int nativeInit(int webContentsPtr);
|
| + private native int nativeInit(int webContentsPtr, int windowAndroidPtr);
|
| private static native void nativeDestroy(int nativeTabBaseAndroidImpl);
|
| private native void nativeInitWebContentsDelegate(int nativeTabBaseAndroidImpl,
|
| ChromeWebContentsDelegateAndroid chromeWebContentsDelegateAndroid);
|
|
|