Index: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java |
index 28e7c26a285afcc8061ae329c61c0e70e0469f55..5c824d25bd24a07d9c89e69f656985dbcd12b74e 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java |
@@ -32,8 +32,8 @@ import org.chromium.base.test.util.CommandLineFlags; |
import org.chromium.base.test.util.Feature; |
import org.chromium.base.test.util.parameter.ParameterizedTest; |
import org.chromium.content.browser.BindingManager; |
-import org.chromium.content.browser.ChildProcessConnection; |
import org.chromium.content.browser.ChildProcessLauncher; |
+import org.chromium.content.browser.ManagedChildProcessConnection; |
import org.chromium.content_public.common.ContentUrlConstants; |
import org.chromium.net.test.EmbeddedTestServer; |
import org.chromium.net.test.util.TestWebServer; |
@@ -585,7 +585,7 @@ public class AwContentsTest extends AwTestBase { |
} |
@Override |
- public void addNewConnection(int pid, ChildProcessConnection connection) { |
+ public void addNewConnection(int pid, ManagedChildProcessConnection connection) { |
mIsChildProcessCreated = true; |
} |
@@ -607,12 +607,7 @@ public class AwContentsTest extends AwTestBase { |
public void onBroughtToForeground() {} |
@Override |
- public boolean isOomProtected(int pid) { |
- return false; |
- } |
- |
- @Override |
- public void clearConnection(int pid) {} |
+ public void removeConnection(int pid) {} |
@Override |
public void startModerateBindingManagement(Context context, int maxSize) {} |