AW: make static methods thread safe

Desktop / Chromium - Nate Fischer [chromium.org] - 13 October 2017 17:42 UTC

This fixes WebView's static methods to be thread safe by posting to the UI thread where required.

WebView static methods should be callable from any thread.

Bug: 765820 Test: run cts -m CtsWebkitTestCases -t android.webkit.cts.WebViewSslTest Test: run cts -m CtsWebkitTestCases -t android.webkit.cts.WebViewTest Change-Id: Iae431f65cf7c8d5ce58257c7133938a848c16efb Reviewed-on: https://chromium-review.googlesource.com/717561

9965cda AW: make static methods thread safe
.../chromium/WebViewChromiumFactoryProvider.java | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

Upstream: git.chromium.org


  • Share