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 |