commit | 89cc5205b3b54b85c584583760d07af7049e6e28 | [log] [tgz] |
---|---|---|
author | Robert Sesek <rsesek@google.com> | Fri Dec 16 12:06:44 2016 -0500 |
committer | Robert Sesek <rsesek@google.com> | Tue Jan 03 19:31:44 2017 -0500 |
tree | 668f5415a9d10a444bf6a4806c1ef5919880af23 | |
parent | 5fdc86fb27d67b0b0b79a299378de70c1bb95d1e [diff] |
Synchronize access to WebViewZygote. The onWebViewProviderChanged callback can be entered from a binder thread, rather than the system_server main thread. This could lead to races when managing the webview_zygote. Test: m Test: Turn on Multiprocess WebView, install a new WebView provider, then instantiate a new WebView. The new WebView should load (note that this is racy so may require multiple attempts to test). Bug: 21643067 Change-Id: I28512906c38e073d4e3d39a2f2b30dcbb50c85ff