Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2174)

Unified Diff: content/shell/android/java/src/org/chromium/content_shell/Shell.java

Issue 11567061: Throw exception when initialization failed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/android/java/src/org/chromium/content_shell/Shell.java
diff --git a/content/shell/android/java/src/org/chromium/content_shell/Shell.java b/content/shell/android/java/src/org/chromium/content_shell/Shell.java
index 31c66c936fe9e2490dcddf536763b31109fd9724..43777d9f969754e44531bb15998971a2bcbbd384 100644
--- a/content/shell/android/java/src/org/chromium/content_shell/Shell.java
+++ b/content/shell/android/java/src/org/chromium/content_shell/Shell.java
@@ -212,7 +212,8 @@ public class Shell extends LinearLayout {
*/
@SuppressWarnings("unused")
@CalledByNative
- private void initFromNativeTabContents(int nativeTabContents) {
+ private void initFromNativeTabContents(int nativeTabContents)
+ throws AndroidBrowserProcessInitException {
mContentView = ContentView.newInstance(
getContext(), nativeTabContents, mWindow, ContentView.PERSONALITY_CHROME);
if (mContentView.getUrl() != null) mUrlTextView.setText(mContentView.getUrl());

Powered by Google App Engine
This is Rietveld 408576698