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

Commit 32847a97 authored by Cary Clark's avatar Cary Clark
Browse files

rename nativeFindIsDown to nativeFindIsUp; check for null webkit

companion fix is in external/webkit

fixes bug http://b/issue?id=2264941
parent 2c766498
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2428,12 +2428,14 @@ public class WebView extends AbsoluteLayout
     * Clear the highlighting surrounding text matches created by findAll.
     */
    public void clearMatches() {
        if (mNativeClass == 0)
            return;
        if (mFindIsUp) {
            recordNewContentSize(mContentWidth, mContentHeight - mFindHeight,
                    false);
            mFindIsUp = false;
        }
        nativeSetFindIsDown();
        nativeSetFindIsUp();
        // Now that the dialog has been removed, ensure that we scroll to a
        // location that is not beyond the end of the page.
        pinScrollTo(mScrollX, mScrollY, false, 0);
@@ -5879,7 +5881,7 @@ public class WebView extends AbsoluteLayout
    private native void     nativeRecordButtons(boolean focused,
            boolean pressed, boolean invalidate);
    private native void     nativeSelectBestAt(Rect rect);
    private native void     nativeSetFindIsDown();
    private native void     nativeSetFindIsUp();
    private native void     nativeSetFollowedLink(boolean followed);
    private native void     nativeSetHeightCanMeasure(boolean measure);
    // Returns a value corresponding to CachedFrame::ImeAction