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

Unified Diff: content/browser/media/android/media_throttler.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/media/android/media_throttler.cc
diff --git a/content/browser/media/android/media_throttler.cc b/content/browser/media/android/media_throttler.cc
index e1769ece994b2627007385448453b6ef09e3f092..0c9b0a402ba8d6ce604d875fc24177c46ab1f23e 100644
--- a/content/browser/media/android/media_throttler.cc
+++ b/content/browser/media/android/media_throttler.cc
@@ -15,11 +15,6 @@ MediaThrottler* MediaThrottler::GetInstance() {
return base::Singleton<MediaThrottler>::get();
}
-// static
-bool MediaThrottler::RegisterMediaThrottler(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
MediaThrottler::~MediaThrottler() {}
bool MediaThrottler::RequestDecoderResources() {

Powered by Google App Engine
This is Rietveld 408576698