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

Unified Diff: content/browser/screen_orientation/screen_orientation_delegate_android.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/screen_orientation/screen_orientation_delegate_android.cc
diff --git a/content/browser/screen_orientation/screen_orientation_delegate_android.cc b/content/browser/screen_orientation/screen_orientation_delegate_android.cc
index 839b24c901bd7318beaa89283ee0d21c27697a39..a2b6977b5bd6fc2da0620a996c74da23bf36f473 100644
--- a/content/browser/screen_orientation/screen_orientation_delegate_android.cc
+++ b/content/browser/screen_orientation/screen_orientation_delegate_android.cc
@@ -16,11 +16,6 @@ ScreenOrientationDelegateAndroid::~ScreenOrientationDelegateAndroid() {
}
// static
-bool ScreenOrientationDelegateAndroid::Register(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-// static
void ScreenOrientationDelegateAndroid::StartAccurateListening() {
Java_ScreenOrientationProvider_startAccurateListening(
base::android::AttachCurrentThread());

Powered by Google App Engine
This is Rietveld 408576698