diff options
| author | Jonathan Dixon <joth@google.com> | 2013-01-10 19:14:32 -0800 |
|---|---|---|
| committer | Jonathan Dixon <joth@google.com> | 2013-01-11 10:23:01 -0800 |
| commit | a811c2f65c0916516311999a5642d268ed8f3583 (patch) | |
| tree | ad860f104b2b9d123f38c8aa729db7e3a0f264c4 /core/java/android/webkit/WebView.java | |
| parent | 8d1127ef3f5889c1d3fa88a80dfd052b0bf1a2de (diff) | |
Remove checkThread() in WebView.getFactory()
Bug: 7617139
WebViewFactoryProvider.getProvider() is thread safe, and when
called from findAddress() this is giving a spurious strict mode
warning.
Also removing obsolete comment while here.
Change-Id: I0b36bc23c13c9c9bec26edaf32ee83ade88982c8
Diffstat (limited to 'core/java/android/webkit/WebView.java')
| -rw-r--r-- | core/java/android/webkit/WebView.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 441b7b0000cd..1abea2b38b78 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -1865,9 +1865,6 @@ public class WebView extends AbsoluteLayout } private static synchronized WebViewFactoryProvider getFactory() { - // For now the main purpose of this function (and the factory abstration) is to keep - // us honest and minimize usage of WebViewClassic internals when binding the proxy. - checkThread(); return WebViewFactory.getProvider(); } |
