| Index: content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java
|
| diff --git a/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java b/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java
|
| index e364d45d2ff24d426d0a2257a9ee84a11cb84c26..bfd1cfcf4b0f8608e752be7e1b52a0b6d468b921 100644
|
| --- a/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java
|
| +++ b/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java
|
| @@ -16,18 +16,15 @@ import org.chromium.base.PathUtils;
|
| public class ContentBrowserTestsApplication extends BaseChromiumApplication {
|
| static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "content_shell";
|
|
|
| - public ContentBrowserTestsApplication() {
|
| - super();
|
| + @Override
|
| + protected void attachBaseContext(Context base) {
|
| + super.attachBaseContext(base);
|
| ContextUtils.initApplicationContext(this);
|
| }
|
|
|
| @Override
|
| public void onCreate() {
|
| super.onCreate();
|
| - initializeApplicationParameters(this);
|
| - }
|
| -
|
| - public static void initializeApplicationParameters(Context context) {
|
| - PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, context);
|
| + PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX);
|
| }
|
| -}
|
| +}
|
|
|