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

Unified Diff: chrome/browser/android/ntp/ntp_snippets_launcher.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: chrome/browser/android/ntp/ntp_snippets_launcher.cc
diff --git a/chrome/browser/android/ntp/ntp_snippets_launcher.cc b/chrome/browser/android/ntp/ntp_snippets_launcher.cc
index 4fb26418c5c2fb9ef8acab4b0096541ca28d3f24..fe278eafb757c791b0cdb55d5743350326d80cd2 100644
--- a/chrome/browser/android/ntp/ntp_snippets_launcher.cc
+++ b/chrome/browser/android/ntp/ntp_snippets_launcher.cc
@@ -23,11 +23,6 @@ NTPSnippetsLauncher* NTPSnippetsLauncher::Get() {
return g_snippets_launcher.Pointer();
}
-// static
-bool NTPSnippetsLauncher::Register(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
bool NTPSnippetsLauncher::Schedule(base::TimeDelta period_wifi_charging,
base::TimeDelta period_wifi,
base::TimeDelta period_fallback,

Powered by Google App Engine
This is Rietveld 408576698