| Index: chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| index e914ba5da5ff5d7812c01579ecc70b25ee13ad2b..6ae4ba3efe7603b59a09ba9506a3edcd8d77d2b9 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| @@ -1503,7 +1503,11 @@ public class Tab implements ViewGroup.OnHierarchyChangeListener,
|
| Profile profile = Profile.getLastUsedProfile();
|
| if (mIncognito) profile = profile.getOffTheRecordProfile();
|
| mBlimpContents = nativeInitBlimpContents(mNativeTabAndroid, profile);
|
| - getBlimpContents().addObserver(new TabBlimpContentsObserver(this));
|
| + if (mBlimpContents != null) {
|
| + getBlimpContents().addObserver(new TabBlimpContentsObserver(this));
|
| + } else {
|
| + mBlimp = false;
|
| + }
|
| }
|
|
|
| boolean creatingWebContents = webContents == null;
|
|
|