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

Unified Diff: ui/base/device_form_factor_android.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, more fixes Created 4 years, 5 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: ui/base/device_form_factor_android.cc
diff --git a/ui/base/device_form_factor_android.cc b/ui/base/device_form_factor_android.cc
index 9cc21ba60471882302815fc3ffb52c7ed1562306..3ecd0d9168e7bd37c7008ee9980f57dcb419b141 100644
--- a/ui/base/device_form_factor_android.cc
+++ b/ui/base/device_form_factor_android.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/base/device_form_factor_android.h"
+#include "ui/base/device_form_factor.h"
#include "base/android/context_utils.h"
#include "base/android/jni_android.h"
@@ -17,8 +17,4 @@ DeviceFormFactor GetDeviceFormFactor() {
return is_tablet ? DEVICE_FORM_FACTOR_TABLET : DEVICE_FORM_FACTOR_PHONE;
}
-bool RegisterDeviceFormFactorAndroid(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698