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

Commit 5f38e1aa authored by Grace Kloba's avatar Grace Kloba
Browse files

Start the synchronous load in the WebCore thread.

parent 883dbacb
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -110,8 +110,12 @@ class FrameLoader {
                return false;
            }
            mNetwork = Network.getInstance(mListener.getContext());
            if (mListener.isSynchronous()) {
                handleHTTPLoad();
            } else {
                WebViewWorker.getHandler().obtainMessage(
                        WebViewWorker.MSG_ADD_HTTPLOADER, this).sendToTarget();
            }
            return true;
        } else if (handleLocalFile(url, mListener, mSettings)) {
            return true;