Index: android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java |
diff --git a/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java b/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java |
index b4d3a4ba3c7507194b123587e28b8b9f3a1977cc..32ee78b934fd8163ee8a1a65d22d9d1f4c5b3a91 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java |
@@ -7,6 +7,7 @@ package org.chromium.android_webview; |
import android.content.Context; |
import android.content.SharedPreferences; |
+import org.chromium.content.browser.AppWebMessagePortService; |
import org.chromium.content.browser.ContentViewStatics; |
/** |
@@ -22,7 +23,7 @@ public class AwBrowserContext { |
private AwGeolocationPermissions mGeolocationPermissions; |
private AwFormDatabase mFormDatabase; |
- private AwMessagePortService mMessagePortService; |
+ private AppWebMessagePortService mMessagePortService; |
private AwMetricsServiceClient mMetricsServiceClient; |
private AwServiceWorkerController mServiceWorkerController; |
private Context mApplicationContext; |
@@ -47,9 +48,9 @@ public class AwBrowserContext { |
return mFormDatabase; |
} |
- public AwMessagePortService getMessagePortService() { |
+ public AppWebMessagePortService getMessagePortService() { |
if (mMessagePortService == null) { |
- mMessagePortService = new AwMessagePortService(); |
+ mMessagePortService = new AppWebMessagePortService(); |
} |
return mMessagePortService; |
} |