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

Unified Diff: base/android/java/src/org/chromium/base/BaseChromiumApplication.java

Issue 2333713003: Move PathUtils to use ContextUtils. (Closed)
Patch Set: Rebase Created 4 years, 2 months 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: 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

Powered by Google App Engine
This is Rietveld 408576698