am aa7dc928: Merge "stop GL drawing thread before killing WebCore" into honeycomb

* commit 'aa7dc92838f4e3d423b2a738f54de9b83f83794b':
  stop GL drawing thread before killing WebCore
This commit is contained in:
Cary Clark
2011-02-03 08:52:21 -08:00
committed by Android Git Automerger

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) -