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

Unified Diff: base/android/jni_registrar.cc

Issue 11823046: Move content/components/web_contents_delegate_android to components/web_contents_delegate_android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 7 years, 11 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
Index: base/android/jni_registrar.cc
diff --git a/base/android/jni_registrar.cc b/base/android/jni_registrar.cc
index 696924a09d03ef4a768f0ec06614c05bd5f8972f..fb399461a07f61bdeb3a2835f164677740c0fbc7 100644
--- a/base/android/jni_registrar.cc
+++ b/base/android/jni_registrar.cc
@@ -15,7 +15,7 @@ bool RegisterNativeMethods(JNIEnv* env,
size_t count) {
const RegistrationMethod* end = method + count;
while (method != end) {
- if (!method->func(env) < 0) {
+ if (!method->func(env)) {
DLOG(ERROR) << method->name << " failed registration!";
return false;
}

Powered by Google App Engine
This is Rietveld 408576698