Skip to content

Commit 728f1ed

Browse files
Teng-Hui ZhuAndroid (Google) Code Review
authored andcommitted
Merge "Update the scale while updating the drawGL functor"
2 parents 80fe2c4 + 7e2346d commit 728f1ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/webkit/WebView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6111,7 +6111,7 @@ void setGLRectViewport() {
61116111
calcOurContentVisibleRectF(mVisibleContentRect);
61126112
nativeUpdateDrawGLFunction(mGLViewportEmpty ? null : mGLRectViewport,
61136113
mGLViewportEmpty ? null : mViewRectViewport,
6114-
mVisibleContentRect);
6114+
mVisibleContentRect, getScale());
61156115
}
61166116

61176117
/**
@@ -9885,7 +9885,7 @@ private native int nativeDraw(Canvas canvas, RectF visibleRect,
98859885
private native int nativeGetDrawGLFunction(int nativeInstance, Rect rect,
98869886
Rect viewRect, RectF visibleRect, float scale, int extras);
98879887
private native void nativeUpdateDrawGLFunction(Rect rect, Rect viewRect,
9888-
RectF visibleRect);
9888+
RectF visibleRect, float scale);
98899889
private native void nativeExtendSelection(int x, int y);
98909890
private native int nativeFindAll(String findLower, String findUpper,
98919891
boolean sameAsLastSearch);

0 commit comments

Comments
 (0)