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

Issue 1026443002: Update DisplayConfigurator to use c++11 style for-loops (Closed)

Created:
5 years, 9 months ago by dnicoara
Modified:
5 years, 9 months ago
Reviewers:
oshima
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update DisplayConfigurator to use c++11 style for-loops This is a formatting change, simplifying the existing code. No functional change intended. Also simplified how the DisplayState::selected_mode is populated when parsing the displays. BUG=none Committed: https://crrev.com/53962b5c53a2962ca5b1bf12bb1214d841fd9041 Cr-Commit-Position: refs/heads/master@{#321416}

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -87 lines) Patch
M ui/display/chromeos/display_configurator.cc View 1 15 chunks +63 lines, -87 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
dnicoara
As promised, this hopefully increases readability for the DisplayConfigurator code.
5 years, 9 months ago (2015-03-19 18:26:25 UTC) #2
oshima
lgtm with nits https://codereview.chromium.org/1026443002/diff/1/ui/display/chromeos/display_configurator.cc File ui/display/chromeos/display_configurator.cc (right): https://codereview.chromium.org/1026443002/diff/1/ui/display/chromeos/display_configurator.cc#newcode344 ui/display/chromeos/display_configurator.cc:344: selected_mode = display.native_mode(); nit: return selected_mode ...
5 years, 9 months ago (2015-03-19 19:11:02 UTC) #3
dnicoara
https://codereview.chromium.org/1026443002/diff/1/ui/display/chromeos/display_configurator.cc File ui/display/chromeos/display_configurator.cc (right): https://codereview.chromium.org/1026443002/diff/1/ui/display/chromeos/display_configurator.cc#newcode344 ui/display/chromeos/display_configurator.cc:344: selected_mode = display.native_mode(); On 2015/03/19 19:11:01, oshima wrote: > ...
5 years, 9 months ago (2015-03-19 19:27:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1026443002/20001
5 years, 9 months ago (2015-03-19 19:27:53 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-19 20:09:25 UTC) #8
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 20:10:09 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/53962b5c53a2962ca5b1bf12bb1214d841fd9041
Cr-Commit-Position: refs/heads/master@{#321416}

Powered by Google App Engine
This is Rietveld 408576698