Skip to content

Commit d4caee0

Browse files
author
Romain Guy
committed
I broke the build after all... here's a fix.
Change-Id: I970715fcff5a74a0ce272654c2ea79e4ab3684bf
1 parent 3d745c0 commit d4caee0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4413,7 +4413,7 @@ && nativeEvaluateLayersAnimations(mNativeClass)) {
44134413
Rect glRectViewport = mGLViewportEmpty ? null : mGLRectViewport;
44144414
Rect viewRectViewport = mGLViewportEmpty ? null : mViewRectViewport;
44154415

4416-
int functor = nativeGetDrawGLFunction(mNativeClass, glRectViewport,
4416+
int functor = nativeCreateDrawGLFunction(mNativeClass, glRectViewport,
44174417
viewRectViewport, mVisibleContentRect, getScale(), extras);
44184418
((HardwareCanvas) canvas).callDrawGLFunction(functor);
44194419
if (mHardwareAccelSkia != getSettings().getHardwareAccelSkiaEnabled()) {
@@ -5754,7 +5754,7 @@ void setGLRectViewport() {
57545754
mGLViewportEmpty = true;
57555755
}
57565756
calcOurContentVisibleRectF(mVisibleContentRect);
5757-
nativeUpdateDrawGLFunction(mGLViewportEmpty ? null : mGLRectViewport,
5757+
nativeUpdateDrawGLFunction(mNativeClass, mGLViewportEmpty ? null : mGLRectViewport,
57585758
mGLViewportEmpty ? null : mViewRectViewport,
57595759
mVisibleContentRect, getScale());
57605760
}
@@ -8759,9 +8759,10 @@ private native int nativeDraw(Canvas canvas, RectF visibleRect,
87598759
int color, int extra, boolean splitIfNeeded);
87608760
private native void nativeDumpDisplayTree(String urlOrNull);
87618761
private native boolean nativeEvaluateLayersAnimations(int nativeInstance);
8762-
private native int nativeGetDrawGLFunction(int nativeInstance, Rect rect,
8762+
private native int nativeCreateDrawGLFunction(int nativeInstance, Rect rect,
87638763
Rect viewRect, RectF visibleRect, float scale, int extras);
8764-
private native void nativeUpdateDrawGLFunction(Rect rect, Rect viewRect,
8764+
private native int nativeGetDrawGLFunction(int nativeInstance);
8765+
private native void nativeUpdateDrawGLFunction(int nativeInstance, Rect rect, Rect viewRect,
87658766
RectF visibleRect, float scale);
87668767
private native String nativeGetSelection();
87678768
private native Rect nativeLayerBounds(int layer);

0 commit comments

Comments
 (0)