Index: trunk/src/ui/gl/android/scoped_java_surface.cc |
=================================================================== |
--- trunk/src/ui/gl/android/scoped_java_surface.cc (revision 290812) |
+++ trunk/src/ui/gl/android/scoped_java_surface.cc (working copy) |
@@ -32,7 +32,7 @@ |
is_protected_(false) { |
JNIEnv* env = base::android::AttachCurrentThread(); |
RegisterNativesIfNeeded(env); |
- DCHECK(env->IsInstanceOf(surface.obj(), Surface_clazz(env))); |
+ DCHECK(env->IsInstanceOf(surface.obj(), g_Surface_clazz)); |
j_surface_.Reset(surface); |
} |