Chromium Code Reviews| Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java |
| index 9c9cbc55762a8e7191073c1cf8d2ded0d5830495..b0aff8c6ce99b6c141d12d9a307eb794c50a358e 100644 |
| --- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java |
| @@ -232,7 +232,7 @@ public class OverlayPanelContent { |
| */ |
| public void destroyContentView() { |
|
pedro (no code reviews)
2015/10/23 05:43:54
FYI: This method is now private, I think you need
Donn Denman
2015/10/23 18:58:07
Done.
|
| if (mContentViewCore != null) { |
| - nativeDestroyWebContents(mNativeOverlayPanelContentPtr); |
| + int processId = nativeDestroyWebContents(mNativeOverlayPanelContentPtr); |
| mContentViewCore.getWebContents().destroy(); |
| mContentViewCore.destroy(); |
| mContentViewCore = null; |
| @@ -241,7 +241,7 @@ public class OverlayPanelContent { |
| mWebContentsObserver = null; |
| } |
| - mOverlayObserver.onContentViewDestroyed(); |
| + mOverlayObserver.onContentViewDestroyed(processId); |
| } |
| // This should be called last here. The setSearchContentViewVisibility method |
| @@ -411,7 +411,7 @@ public class OverlayPanelContent { |
| long nativeOverlayPanelContent, String historyUrl, long urlTimeMs); |
| private native void nativeSetWebContents(long nativeOverlayPanelContent, |
| ContentViewCore contentViewCore, WebContentsDelegateAndroid delegate); |
| - private native void nativeDestroyWebContents(long nativeOverlayPanelContent); |
| + private native int nativeDestroyWebContents(long nativeOverlayPanelContent); |
| private native void nativeSetInterceptNavigationDelegate(long nativeOverlayPanelContent, |
| InterceptNavigationDelegate delegate, WebContents webContents); |
| } |