Skip to content

Commit d09666c

Browse files
committed
Remove wrong nativeSubtractLayers
Bug: 5338388 Change-Id: I6b40d29d53df67bc04e8e52627b5d0c2769c28a5
1 parent 0f98616 commit d09666c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7239,7 +7239,6 @@ public boolean requestChildRectangleOnScreen(View child,
72397239
viewToContentX(getScrollX() + getWidth()
72407240
- mWebView.getVerticalScrollbarWidth()),
72417241
viewToContentY(getScrollY() + getViewHeightWithTitle()));
7242-
content = nativeSubtractLayers(content);
72437242
int screenTop = contentToViewY(content.top);
72447243
int screenBottom = contentToViewY(content.bottom);
72457244
int height = screenBottom - screenTop;
@@ -9135,7 +9134,6 @@ private native boolean nativeSetBaseLayer(int nativeInstance,
91359134
private native void nativeCopyBaseContentToPicture(Picture pict);
91369135
private native boolean nativeHasContent();
91379136
private native void nativeStopGL();
9138-
private native Rect nativeSubtractLayers(Rect content);
91399137
private native void nativeDiscardAllTextures();
91409138
private native void nativeTileProfilingStart();
91419139
private native float nativeTileProfilingStop();

0 commit comments

Comments
 (0)