| Index: content/public/android/javatests/src/org/chromium/content/browser/ChildProcessLauncherTest.java
|
| diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ChildProcessLauncherTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ChildProcessLauncherTest.java
|
| index 1f10e35d521aec9740ecf8df92169a3a1d5c90ac..d6a45d46651eb7dfa13982b1e99b5ceaa2f89239 100644
|
| --- a/content/public/android/javatests/src/org/chromium/content/browser/ChildProcessLauncherTest.java
|
| +++ b/content/public/android/javatests/src/org/chromium/content/browser/ChildProcessLauncherTest.java
|
| @@ -250,20 +250,16 @@ public class ChildProcessLauncherTest extends InstrumentationTestCase {
|
| // Start and connect to a new service of an external APK.
|
| ChildProcessConnectionImpl externalApkConnection =
|
| allocateConnection(EXTERNAL_APK_PACKAGE_NAME);
|
| + assertNotNull(externalApkConnection);
|
| // Start and connect to a new service for a regular tab.
|
| ChildProcessConnectionImpl tabConnection = allocateConnection(appContext.getPackageName());
|
| + assertNotNull(tabConnection);
|
|
|
| // Verify that one connection is allocated for an external APK and a regular tab
|
| // respectively.
|
| assertEquals(1, ChildProcessLauncher.allocatedSandboxedConnectionsCountForTesting(
|
| appContext, EXTERNAL_APK_PACKAGE_NAME));
|
| assertEquals(1, allocatedChromeSandboxedConnectionsCount());
|
| -
|
| - // Verify that connections allocated for an external APK and the regular tab are from
|
| - // different ChildConnectionAllocators, since both ChildConnectionAllocators start
|
| - // allocating connections from number 0.
|
| - assertEquals(0, externalApkConnection.getServiceNumber());
|
| - assertEquals(0, tabConnection.getServiceNumber());
|
| }
|
|
|
| /**
|
|
|