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

Issue 2876363002: Make for statements using C++11 foreach in LayoutSelection::SetSelection() (Closed)

Created:
3 years, 7 months ago by yoichio
Modified:
3 years, 7 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make for loop using C++11 foreach in LayoutSelection::SetSelection() BUG=708453 Review-Url: https://codereview.chromium.org/2876363002 Cr-Commit-Position: refs/heads/master@{#471977} Committed: https://chromium.googlesource.com/chromium/src/+/56fd91872a4109611d4c1142243b349e430b61a2

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -23 lines) Patch
M third_party/WebKit/Source/core/editing/LayoutSelection.cpp View 1 4 chunks +12 lines, -23 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
yoichio
3 years, 7 months ago (2017-05-15 04:23:26 UTC) #4
yoichio
3 years, 7 months ago (2017-05-15 04:23:30 UTC) #5
yosin_UTC9
https://codereview.chromium.org/2876363002/diff/1/third_party/WebKit/Source/core/editing/LayoutSelection.cpp File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): https://codereview.chromium.org/2876363002/diff/1/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode223 third_party/WebKit/Source/core/editing/LayoutSelection.cpp:223: for (const auto& it : old_selected_map.object_map) nit: s/it/key_value/ or ...
3 years, 7 months ago (2017-05-15 07:05:09 UTC) #6
yoichio
https://codereview.chromium.org/2876363002/diff/1/third_party/WebKit/Source/core/editing/LayoutSelection.cpp File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): https://codereview.chromium.org/2876363002/diff/1/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode223 third_party/WebKit/Source/core/editing/LayoutSelection.cpp:223: for (const auto& it : old_selected_map.object_map) On 2017/05/15 07:05:09, ...
3 years, 7 months ago (2017-05-15 07:59:43 UTC) #9
yosin_UTC9
lgtm
3 years, 7 months ago (2017-05-15 08:23:12 UTC) #12
hugoh_UTC2
Nice readability improvement! :)
3 years, 7 months ago (2017-05-15 09:23:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2876363002/20001
3 years, 7 months ago (2017-05-16 01:34:17 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 01:47:34 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/56fd91872a4109611d4c1142243b...

Powered by Google App Engine
This is Rietveld 408576698