Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a811c2f6 authored by Jonathan Dixon's avatar Jonathan Dixon
Browse files

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
parent 8d1127ef
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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();
    }