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

Unified Diff: ui/ozone/platform/dri/dri_cursor.cc

Issue 698293002: ozone: Add PRESUBMIT.py to check patch formatting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/ozone/platform/dri/display_snapshot_dri.cc ('k') | ui/ozone/platform/dri/dri_gpu_platform_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_cursor.cc
diff --git a/ui/ozone/platform/dri/dri_cursor.cc b/ui/ozone/platform/dri/dri_cursor.cc
index 308541b4464758361430a2c38b00d44d43d60502..4c5930c59cce84a7de6888b2be00a7a8300e3c33 100644
--- a/ui/ozone/platform/dri/dri_cursor.cc
+++ b/ui/ozone/platform/dri/dri_cursor.cc
@@ -40,18 +40,16 @@ void DriCursor::SetCursor(gfx::AcceleratedWidget widget,
void DriCursor::ShowCursor() {
DCHECK_NE(cursor_window_, gfx::kNullAcceleratedWidget);
if (cursor_.get())
- hardware_->SetHardwareCursor(cursor_window_,
- cursor_->bitmaps(),
- bitmap_location(),
- cursor_->frame_delay_ms());
+ hardware_->SetHardwareCursor(cursor_window_, cursor_->bitmaps(),
+ bitmap_location(), cursor_->frame_delay_ms());
else
HideCursor();
}
void DriCursor::HideCursor() {
DCHECK_NE(cursor_window_, gfx::kNullAcceleratedWidget);
- hardware_->SetHardwareCursor(
- cursor_window_, std::vector<SkBitmap>(), gfx::Point(), 0);
+ hardware_->SetHardwareCursor(cursor_window_, std::vector<SkBitmap>(),
+ gfx::Point(), 0);
}
void DriCursor::MoveCursorTo(gfx::AcceleratedWidget widget,
« no previous file with comments | « ui/ozone/platform/dri/display_snapshot_dri.cc ('k') | ui/ozone/platform/dri/dri_gpu_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698