Merge "Part of fix for bug 8629392" into jb-mr2-dev

This commit is contained in:
Kristian Monsen
2013-04-17 02:22:25 +00:00
committed by Android (Google) Code Review

View File

@@ -2149,7 +2149,8 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
@Override
public void destroy() {
if (mWebView.getViewRootImpl() != null) {
Log.e(LOGTAG, "Error: WebView.destroy() called while still attached!");
Log.e(LOGTAG, Log.getStackTraceString(
new Throwable("Error: WebView.destroy() called while still attached!")));
}
ensureFunctorDetached();
destroyJava();