am 9e2b578f: Merge "never attach null functor" into jb-dev
* commit '9e2b578fffee37e717b936d43b52d30b18bf64ce': never attach null functor
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