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

Unified Diff: ash/drag_drop/drag_image_view.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « ash/drag_drop/drag_drop_tracker_unittest.cc ('k') | ash/extended_desktop_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/drag_drop/drag_image_view.cc
diff --git a/ash/drag_drop/drag_image_view.cc b/ash/drag_drop/drag_image_view.cc
index fb8a432906c24fa3d2e7284956617d77da20d294..bacdaeef8564d1e0701d7bd21fc7d20abb0d2115 100644
--- a/ash/drag_drop/drag_image_view.cc
+++ b/ash/drag_drop/drag_image_view.cc
@@ -112,8 +112,8 @@ void DragImageView::OnPaint(gfx::Canvas* canvas) {
} else {
float device_scale = 1;
if (widget_->GetNativeView() && widget_->GetNativeView()->layer()) {
- device_scale = ui::GetDeviceScaleFactor(
- widget_->GetNativeView()->layer());
+ device_scale =
+ ui::GetDeviceScaleFactor(widget_->GetNativeView()->layer());
}
// The drag image already has device scale factor applied. But
// |widget_size_| is in DIP units.
@@ -152,7 +152,7 @@ gfx::Image* DragImageView::DragHint() const {
// Select appropriate drag hint.
gfx::Image* drag_hint =
&ui::ResourceBundle::GetSharedInstance().GetImageNamed(
- IDR_TOUCH_DRAG_TIP_NODROP);
+ IDR_TOUCH_DRAG_TIP_NODROP);
if (touch_drag_operation_ & ui::DragDropTypes::DRAG_COPY) {
drag_hint = &ui::ResourceBundle::GetSharedInstance().GetImageNamed(
IDR_TOUCH_DRAG_TIP_COPY);
« no previous file with comments | « ash/drag_drop/drag_drop_tracker_unittest.cc ('k') | ash/extended_desktop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698