diff options
| -rw-r--r-- | core/java/android/webkit/WebView.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index e493785e5354..599d167b4855 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -1464,6 +1464,7 @@ public class WebView extends AbsoluteLayout mListBoxDialog.dismiss(); mListBoxDialog = null; } + if (mNativeClass != 0) nativeStopGL(); if (mWebViewCore != null) { // Set the handlers to null before destroying WebViewCore so no // more messages will be posted. @@ -8323,6 +8324,7 @@ public class WebView extends AbsoluteLayout private native void nativeSetSelectionPointer(boolean set, float scale, int x, int y); private native boolean nativeStartSelection(int x, int y); + private native void nativeStopGL(); private native Rect nativeSubtractLayers(Rect content); private native int nativeTextGeneration(); // Never call this version except by updateCachedTextfield(String) - |