Commit f64d99f9 authored by michaelbai's avatar michaelbai Committed by Commit bot

Return true from AwContent.onRenderProcesssGoneDetail

BUG= 716597

Review-Url: https://codereview.chromium.org/2850963002
Cr-Commit-Position: refs/heads/master@{#468333}
parent 837b0ae2
...@@ -1182,7 +1182,7 @@ public class AwContents implements SmartClipProvider { ...@@ -1182,7 +1182,7 @@ public class AwContents implements SmartClipProvider {
@VisibleForTesting @VisibleForTesting
@CalledByNative @CalledByNative
protected boolean onRenderProcessGoneDetail(int childProcessID, boolean crashed) { protected boolean onRenderProcessGoneDetail(int childProcessID, boolean crashed) {
if (isDestroyed(NO_WARN)) return false; if (isDestroyed(NO_WARN)) return true;
return mContentsClient.onRenderProcessGone(new AwRenderProcessGoneDetail( return mContentsClient.onRenderProcessGone(new AwRenderProcessGoneDetail(
crashed, nativeGetRendererCurrentPriority(mNativeAwContents))); crashed, nativeGetRendererCurrentPriority(mNativeAwContents)));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment