| Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| index ff251ff98228921742184b4fc1456f75f48353a7..b6eeacab22aafff20bd85484e97a255967aa0982 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| @@ -228,7 +228,8 @@ public class ContentViewCore implements MotionEventDelegate {
|
| * maximum number of allowed renderers is capped by MAX_RENDERERS_LIMIT.
|
| * @return Whether the process actually needed to be initialized (false if already running).
|
| */
|
| - public static boolean enableMultiProcess(Context context, int maxRendererProcesses) {
|
| + public static boolean enableMultiProcess(Context context, int maxRendererProcesses)
|
| + throws AndroidBrowserProcessInitException {
|
| return AndroidBrowserProcess.initContentViewProcess(context, maxRendererProcesses);
|
| }
|
|
|
| @@ -240,7 +241,8 @@ public class ContentViewCore implements MotionEventDelegate {
|
| * @param maxRendererProcesses Same as ContentView.enableMultiProcess()
|
| * @return Whether the process actually needed to be initialized (false if already running).
|
| */
|
| - public static boolean initChromiumBrowserProcess(Context context, int maxRendererProcesses) {
|
| + public static boolean initChromiumBrowserProcess(Context context, int maxRendererProcesses)
|
| + throws AndroidBrowserProcessInitException {
|
| return AndroidBrowserProcess.initChromiumBrowserProcess(context, maxRendererProcesses);
|
| }
|
|
|
| @@ -251,7 +253,8 @@ public class ContentViewCore implements MotionEventDelegate {
|
| * @param context The context used to create this.
|
| * @param personality The type of ContentViewCore being created.
|
| */
|
| - public ContentViewCore(Context context, int personality) {
|
| + public ContentViewCore(Context context, int personality)
|
| + throws AndroidBrowserProcessInitException {
|
| mContext = context;
|
|
|
| WeakContext.initializeWeakContext(context);
|
|
|