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

Unified Diff: content/browser/android/content_view_core_impl.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 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
Index: content/browser/android/content_view_core_impl.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index 108ecdec73adf1364a3297863d1a430026d96620..9e8bde5bb175839f3147d3beecfaba1f0ff1fd85 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -1640,7 +1640,7 @@ static ScopedJavaLocalRef<jobject> FromWebContentsAndroid(
}
bool RegisterContentViewCore(JNIEnv* env) {
- return RegisterNativesImpl(env) && JNI_DragEvent::RegisterNativesImpl(env);
+ return RegisterNativesImpl(env);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698