Index: base/android/java/src/org/chromium/base/BaseChromiumApplication.java |
diff --git a/base/android/java/src/org/chromium/base/BaseChromiumApplication.java b/base/android/java/src/org/chromium/base/BaseChromiumApplication.java |
index 353b798f9ec6806e841d7b0120c9ea86853c759f..9bc3eaa95af19b2ea23fa864e6a7148929ae383d 100644 |
--- a/base/android/java/src/org/chromium/base/BaseChromiumApplication.java |
+++ b/base/android/java/src/org/chromium/base/BaseChromiumApplication.java |
@@ -42,6 +42,7 @@ public class BaseChromiumApplication extends Application { |
@Override |
protected void attachBaseContext(Context base) { |
super.attachBaseContext(base); |
+ assert getBaseContext() != null; |
ChromiumMultiDexInstaller.install(this); |
} |
@@ -58,7 +59,7 @@ public class BaseChromiumApplication extends Application { |
} |
private ObserverList<WindowFocusChangedListener> mWindowFocusListeners = |
- new ObserverList<WindowFocusChangedListener>(); |
+ new ObserverList<>(); |
/** |
* Intercepts calls to an existing Window.Callback. Most invocations are passed on directly |