Merge "never attach null functor" into jb-dev
This commit is contained in:
@@ -7890,7 +7890,9 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
|
||||
ViewRootImpl viewRoot = mWebView.getViewRootImpl();
|
||||
if (mWebView.isHardwareAccelerated() && viewRoot != null) {
|
||||
functor = nativeGetDrawGLFunction(mNativeClass);
|
||||
viewRoot.attachFunctor(functor);
|
||||
if (functor != 0) {
|
||||
viewRoot.attachFunctor(functor);
|
||||
}
|
||||
}
|
||||
|
||||
if (functor == 0
|
||||
|
||||
Reference in New Issue
Block a user