| 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 f65d228b19537479dfcfb5d6f2ba0132a6aad275..3fde5bb0f912c2eaf86d00a15dbfc39d276f6b05 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
| @@ -7,6 +7,7 @@ package org.chromium.chrome.browser;
|
| import android.content.Context;
|
| import android.text.TextUtils;
|
|
|
| +import org.chromium.content.browser.AndroidBrowserProcessInitException;
|
| import org.chromium.content.browser.ContentView;
|
| import org.chromium.content.browser.LoadUrlParams;
|
| import org.chromium.content.common.CleanupReference;
|
| @@ -35,7 +36,8 @@ public class TabBase {
|
| * @param url The URL to start this tab with.
|
| * @param window The NativeWindow should represent this tab.
|
| */
|
| - public TabBase(Context context, String url, NativeWindow window) {
|
| + public TabBase(Context context, String url, NativeWindow window)
|
| + throws AndroidBrowserProcessInitException {
|
| this(context, 0, window);
|
| loadUrlWithSanitization(url);
|
| }
|
| @@ -45,7 +47,8 @@ public class TabBase {
|
| * @param nativeWebContentsPtr A native pointer to the WebContents this tab represents.
|
| * @param window The NativeWindow should represent this tab.
|
| */
|
| - public TabBase(Context context, int nativeWebContentsPtr, NativeWindow window) {
|
| + public TabBase(Context context, int nativeWebContentsPtr, NativeWindow window)
|
| + throws AndroidBrowserProcessInitException {
|
| mWindow = window;
|
|
|
| // Build the WebContents and the ContentView/ContentViewCore
|
| @@ -182,4 +185,4 @@ public class TabBase {
|
| private native void nativeInitWebContentsDelegate(int nativeTabBaseAndroidImpl,
|
| ChromeWebContentsDelegateAndroid chromeWebContentsDelegateAndroid);
|
| private native String nativeFixupUrl(int nativeTabBaseAndroidImpl, String url);
|
| -}
|
| +}
|
|
|