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

Unified Diff: ui/base/device_form_factor_android.cc

Issue 2202033002: ui: Remove unneeded RegisterNatives() call on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg1
Patch Set: rebase, unused headers 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
« no previous file with comments | « ui/base/device_form_factor_android.h ('k') | ui/base/resource/resource_bundle_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/base/device_form_factor_android.h ('k') | ui/base/resource/resource_bundle_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698