Chromium Code Reviews| Index: ui/gl/android/scoped_java_surface.cc |
| diff --git a/ui/gl/android/scoped_java_surface.cc b/ui/gl/android/scoped_java_surface.cc |
| index 36f635fe01a6c700a44925840a1fb3fc9955f3a3..70d37c1bfb1e35c33e22ea1100e9b638f291a817 100644 |
| --- a/ui/gl/android/scoped_java_surface.cc |
| +++ b/ui/gl/android/scoped_java_surface.cc |
| @@ -32,7 +32,6 @@ ScopedJavaSurface::ScopedJavaSurface( |
| is_protected_(false) { |
| JNIEnv* env = base::android::AttachCurrentThread(); |
| RegisterNativesIfNeeded(env); |
| - DCHECK(env->IsInstanceOf(surface.obj(), g_Surface_clazz)); |
|
mkosiba (inactive)
2014/08/15 16:53:50
I was thinking of making this a method (g_Sufrace_
mkosiba (inactive)
2014/08/18 11:01:21
Should be now fixed
|
| j_surface_.Reset(surface); |
| } |