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

Unified Diff: ui/ozone/platform/dri/hardware_display_controller.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/gbm_buffer.cc ('k') | ui/ozone/platform/dri/hardware_display_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/hardware_display_controller.cc
diff --git a/ui/ozone/platform/dri/hardware_display_controller.cc b/ui/ozone/platform/dri/hardware_display_controller.cc
index ee4e4a94626adf892b35a605a2b22e1ee7a540d2..054e726a4474cf0542c6d1421e695c705969e445 100644
--- a/ui/ozone/platform/dri/hardware_display_controller.cc
+++ b/ui/ozone/platform/dri/hardware_display_controller.cc
@@ -175,8 +175,7 @@ void HardwareDisplayController::AddCrtc(scoped_ptr<CrtcController> controller) {
scoped_ptr<CrtcController> HardwareDisplayController::RemoveCrtc(
uint32_t crtc) {
for (ScopedVector<CrtcController>::iterator it = crtc_controllers_.begin();
- it != crtc_controllers_.end();
- ++it) {
+ it != crtc_controllers_.end(); ++it) {
if ((*it)->crtc() == crtc) {
scoped_ptr<CrtcController> controller(*it);
crtc_controllers_.weak_erase(it);
« no previous file with comments | « ui/ozone/platform/dri/gbm_buffer.cc ('k') | ui/ozone/platform/dri/hardware_display_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698