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

Unified Diff: ui/gfx/android/shared_device_display_info.cc

Issue 2237943002: Remove now-unnecessary .obj() in Java method calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch-context
Patch Set: Rebase *again* :( 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/events/android/motion_event_android.cc ('k') | ui/gl/android/scoped_java_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/android/shared_device_display_info.cc
diff --git a/ui/gfx/android/shared_device_display_info.cc b/ui/gfx/android/shared_device_display_info.cc
index b5c0f8564e829a761b6379e502d653ea1dda2bd4..8270142700a3adfb04e608559dd7195ab45836b5 100644
--- a/ui/gfx/android/shared_device_display_info.cc
+++ b/ui/gfx/android/shared_device_display_info.cc
@@ -125,17 +125,17 @@ SharedDeviceDisplayInfo::SharedDeviceDisplayInfo()
j_device_info_.Reset(
Java_DeviceDisplayInfo_create(
env, base::android::GetApplicationContext()));
- UpdateDisplayInfo(env, j_device_info_.obj(),
- Java_DeviceDisplayInfo_getDisplayHeight(env, j_device_info_.obj()),
- Java_DeviceDisplayInfo_getDisplayWidth(env, j_device_info_.obj()),
- Java_DeviceDisplayInfo_getPhysicalDisplayHeight(env,
- j_device_info_.obj()),
- Java_DeviceDisplayInfo_getPhysicalDisplayWidth(env, j_device_info_.obj()),
- Java_DeviceDisplayInfo_getBitsPerPixel(env, j_device_info_.obj()),
- Java_DeviceDisplayInfo_getBitsPerComponent(env, j_device_info_.obj()),
- Java_DeviceDisplayInfo_getDIPScale(env, j_device_info_.obj()),
- Java_DeviceDisplayInfo_getSmallestDIPWidth(env, j_device_info_.obj()),
- Java_DeviceDisplayInfo_getRotationDegrees(env, j_device_info_.obj()));
+ UpdateDisplayInfo(
+ env, j_device_info_.obj(),
+ Java_DeviceDisplayInfo_getDisplayHeight(env, j_device_info_),
+ Java_DeviceDisplayInfo_getDisplayWidth(env, j_device_info_),
+ Java_DeviceDisplayInfo_getPhysicalDisplayHeight(env, j_device_info_),
+ Java_DeviceDisplayInfo_getPhysicalDisplayWidth(env, j_device_info_),
+ Java_DeviceDisplayInfo_getBitsPerPixel(env, j_device_info_),
+ Java_DeviceDisplayInfo_getBitsPerComponent(env, j_device_info_),
+ Java_DeviceDisplayInfo_getDIPScale(env, j_device_info_),
+ Java_DeviceDisplayInfo_getSmallestDIPWidth(env, j_device_info_),
+ Java_DeviceDisplayInfo_getRotationDegrees(env, j_device_info_));
}
SharedDeviceDisplayInfo::~SharedDeviceDisplayInfo() {
« no previous file with comments | « ui/events/android/motion_event_android.cc ('k') | ui/gl/android/scoped_java_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698