am aa997294: Merge "Revert "Add temporary functor lifetime logging"" into jb-dev
* commit 'aa9972943cab627db9b10e5c9c4bb80f99f8a4bd': Revert "Add temporary functor lifetime logging"
This commit is contained in:
@@ -2000,11 +2000,6 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
|
||||
}
|
||||
|
||||
private void destroyImpl() {
|
||||
int drawGLFunction = nativeGetDrawGLFunction(mNativeClass);
|
||||
ViewRootImpl viewRoot = mWebView.getViewRootImpl();
|
||||
Log.d(LOGTAG, String.format("destroyImpl, drawGLFunction %x, viewroot == null %b, isHWAccel %b",
|
||||
drawGLFunction, (viewRoot == null), mWebView.isHardwareAccelerated()));
|
||||
|
||||
mCallbackProxy.blockMessages();
|
||||
clearHelpers();
|
||||
if (mListBoxDialog != null) {
|
||||
@@ -5392,11 +5387,9 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
|
||||
removeAccessibilityApisFromJavaScript();
|
||||
updateHwAccelerated();
|
||||
|
||||
int drawGLFunction = nativeGetDrawGLFunction(mNativeClass);
|
||||
ViewRootImpl viewRoot = mWebView.getViewRootImpl();
|
||||
Log.d(LOGTAG, String.format("onDetachedFromWindow, drawGLFunction %x, viewroot == null %b, isHWAccel %b",
|
||||
drawGLFunction, (viewRoot == null), mWebView.isHardwareAccelerated()));
|
||||
if (mWebView.isHardwareAccelerated()) {
|
||||
int drawGLFunction = nativeGetDrawGLFunction(mNativeClass);
|
||||
ViewRootImpl viewRoot = mWebView.getViewRootImpl();
|
||||
if (drawGLFunction != 0 && viewRoot != null) {
|
||||
viewRoot.detachFunctor(drawGLFunction);
|
||||
}
|
||||
|
||||
@@ -247,7 +247,6 @@ void OpenGLRenderer::resume() {
|
||||
}
|
||||
|
||||
void OpenGLRenderer::detachFunctor(Functor* functor) {
|
||||
ALOGD("OGLR %p detachFunctor %p", this, functor);
|
||||
mFunctors.remove(functor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user