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

Issue 642293004: Use C++11 range-based loop in core/frame (Closed)

Created:
6 years, 2 months ago by riju_
Modified:
6 years, 2 months ago
Reviewers:
Mike West
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use C++11 range-based loop in core/frame Improves code readability BUG=none TEST=no layout test failures Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183816

Patch Set 1 #

Patch Set 2 : Use meaningful names #

Total comments: 8

Patch Set 3 : mike's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -70 lines) Patch
M Source/core/frame/DOMWindowLifecycleNotifier.cpp View 1 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/frame/EventHandlerRegistry.cpp View 1 3 chunks +10 lines, -10 lines 0 comments Download
M Source/core/frame/Frame.cpp View 1 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 10 chunks +19 lines, -29 lines 0 comments Download
M Source/core/frame/LocalDOMWindow.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 1 4 chunks +10 lines, -12 lines 0 comments Download
M Source/core/frame/csp/ContentSecurityPolicy.cpp View 1 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
riju_
PTAL
6 years, 2 months ago (2014-10-16 08:49:16 UTC) #2
Mike West
LGTM. https://codereview.chromium.org/642293004/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/642293004/diff/20001/Source/core/frame/FrameView.cpp#newcode2295 Source/core/frame/FrameView.cpp:2295: for (const auto& it : *m_scrollableAreas) { s/it/scrollableArea/, ...
6 years, 2 months ago (2014-10-16 09:09:40 UTC) #3
riju_
Thanks https://codereview.chromium.org/642293004/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/642293004/diff/20001/Source/core/frame/FrameView.cpp#newcode2295 Source/core/frame/FrameView.cpp:2295: for (const auto& it : *m_scrollableAreas) { On ...
6 years, 2 months ago (2014-10-16 11:30:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/642293004/40001
6 years, 2 months ago (2014-10-16 12:10:36 UTC) #6
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 13:54:06 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 183816

Powered by Google App Engine
This is Rietveld 408576698