diff options
author | boliu <boliu@chromium.org> | 2015-03-30 14:41:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-30 21:42:44 +0000 |
commit | b96161b083bfa9e9f38154f91ac0437c40680878 (patch) | |
tree | 9495c02508859b31ac5123e21633a702d7eb15f7 /chrome_elf/blacklist/blacklist.h | |
parent | cb438a9db1e9acd5cbc11bbf6ce88205ff6bc6be (diff) | |
download | chromium_src-b96161b083bfa9e9f38154f91ac0437c40680878.zip chromium_src-b96161b083bfa9e9f38154f91ac0437c40680878.tar.gz chromium_src-b96161b083bfa9e9f38154f91ac0437c40680878.tar.bz2 |
Fix ViewAndroid leak in Android WebView
Separate the life time of java and native ViewAndroid. There are no
jni methods between them already beyond creating and destroying the
native object.
Then have native ContentViewCoreImpl own the native ViewAndroid. There
is no longer a need to explicitly call java ViewAndroid.destroy to
destroy native ViewAndroid.
Finally make native ViewAndroid hold a strong reference to avoid
adding null checks everywhere. This involves making sure
ContentViewAndroidDelegate not hold any strong references to
ContentViewCore or mContainerView.
BUG=469803
Review URL: https://codereview.chromium.org/1030073002
Cr-Commit-Position: refs/heads/master@{#322877}
Diffstat (limited to 'chrome_elf/blacklist/blacklist.h')
0 files changed, 0 insertions, 0 deletions