Commit e0127441 authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

weblayer: adds calls to WindowAndroid.destroy

BUG=1018148
TEST=none

Change-Id: Icb07328be04799cd4d7c87d4f07b47976aa33982
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1904501Reviewed-by: default avatarBo <boliu@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#713641}
parent 6c5543c9
...@@ -184,7 +184,9 @@ public class BrowserImpl extends IBrowser.Stub { ...@@ -184,7 +184,9 @@ public class BrowserImpl extends IBrowser.Stub {
} }
mViewController = null; mViewController = null;
} }
mWindowAndroid = null; if (mWindowAndroid != null) {
mViewController = null; mWindowAndroid.destroy();
mWindowAndroid = null;
}
} }
} }
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