Index: android_webview/glue/java/src/com/android/webview/chromium/DrawGLFunctor.java |
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/DrawGLFunctor.java b/android_webview/glue/java/src/com/android/webview/chromium/DrawGLFunctor.java |
index 55f39bab6916edc86bc0a363758d39b2c0cef57f..9bc3e0190ef8728416a75d8f868e2ce835992ab7 100644 |
--- a/android_webview/glue/java/src/com/android/webview/chromium/DrawGLFunctor.java |
+++ b/android_webview/glue/java/src/com/android/webview/chromium/DrawGLFunctor.java |
@@ -39,7 +39,7 @@ class DrawGLFunctor implements AwContents.NativeDrawGLFunctor { |
} |
private static final boolean sSupportFunctorReleasedCallback = |
- (Build.VERSION.SDK_INT > Build.VERSION_CODES.M) || "N".equals(Build.VERSION.CODENAME); |
+ (Build.VERSION.SDK_INT > Build.VERSION_CODES.M) || Build.VERSION.CODENAME.equals("N"); |
@Override |
public boolean requestDrawGL(Canvas canvas, Runnable releasedCallback) { |