Merge "stop GL drawing thread before killing WebCore" into honeycomb

This commit is contained in:
Cary Clark
2011-02-03 08:48:24 -08:00
committed by Android (Google) Code Review

View File

@@ -1461,6 +1461,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.
@@ -8309,6 +8310,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) -