| Index: content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java b/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java
|
| index 4499622fe29b6a53d96e8c3e224efb57e03f4a94..2ad7b8aeb369b0d06f63816d03cd423df204ecc1 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java
|
| @@ -12,7 +12,6 @@ import android.content.pm.PackageManager;
|
| import android.content.pm.ServiceInfo;
|
| import android.os.Build;
|
| import android.os.Bundle;
|
| -import android.os.DeadObjectException;
|
| import android.os.IBinder;
|
| import android.os.RemoteException;
|
|
|
| @@ -541,13 +540,8 @@ public class ChildProcessConnectionImpl implements ChildProcessConnection {
|
| }
|
|
|
| @VisibleForTesting
|
| - public boolean crashServiceForTesting() throws RemoteException {
|
| - try {
|
| - mService.crashIntentionallyForTesting();
|
| - } catch (DeadObjectException e) {
|
| - return true;
|
| - }
|
| - return false;
|
| + public void crashServiceForTesting() throws RemoteException {
|
| + mService.crashIntentionallyForTesting();
|
| }
|
|
|
| @VisibleForTesting
|
|
|