Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: trunk/src/ui/gl/android/scoped_java_surface.cc

Issue 492713002: Revert 290810 "Make class lookup lazy in jni_generator when usin..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/base/base.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « trunk/src/base/base.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698