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

Issue 800113002: Use C++11 range-based for loop in Source/core/inspector (Closed)

Created:
6 years ago by zhaoze.zhou
Modified:
6 years ago
Reviewers:
pfeldman, rwlbuis
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Use C++11 range-based for loop in Source/core/inspector BUG=None Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187546

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase again #

Patch Set 4 : REBASE AGAIN! #

Total comments: 10

Patch Set 5 : remove unnecessary copy #

Patch Set 6 : rebase #

Patch Set 7 : rebase again and again! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -196 lines) Patch
M Source/core/inspector/ContentSearchUtils.cpp View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/inspector/DOMPatchSupport.cpp View 1 2 3 4 5 4 chunks +12 lines, -15 lines 0 comments Download
M Source/core/inspector/InjectedScriptManager.cpp View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/inspector/InspectorCSSAgent.cpp View 1 2 3 4 5 9 chunks +18 lines, -21 lines 0 comments Download
M Source/core/inspector/InspectorCanvasAgent.cpp View 1 2 3 4 5 4 chunks +8 lines, -8 lines 0 comments Download
M Source/core/inspector/InspectorDOMAgent.cpp View 1 2 3 4 5 10 chunks +21 lines, -28 lines 0 comments Download
M Source/core/inspector/InspectorDOMDebuggerAgent.cpp View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorDebuggerAgent.cpp View 1 2 3 4 5 4 chunks +9 lines, -9 lines 0 comments Download
M Source/core/inspector/InspectorInputAgent.cpp View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.cpp View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.cpp View 1 2 3 4 5 7 chunks +11 lines, -17 lines 0 comments Download
M Source/core/inspector/InspectorProfilerAgent.cpp View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorResourceAgent.cpp View 1 2 3 4 5 6 7 chunks +19 lines, -25 lines 0 comments Download
M Source/core/inspector/InspectorResourceContentLoader.cpp View 1 2 3 4 5 4 chunks +6 lines, -8 lines 0 comments Download
M Source/core/inspector/InspectorState.cpp View 1 2 3 4 5 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/inspector/InspectorStyleSheet.cpp View 1 2 3 4 5 4 chunks +10 lines, -10 lines 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.cpp View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorWorkerAgent.cpp View 1 2 3 4 5 2 chunks +7 lines, -7 lines 0 comments Download
M Source/core/inspector/NetworkResourcesData.cpp View 1 2 3 4 5 3 chunks +11 lines, -17 lines 0 comments Download
M Source/core/inspector/PromiseTracker.cpp View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/inspector/TraceEventDispatcher.cpp View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
zhaoze.zhou
6 years ago (2014-12-16 15:20:33 UTC) #2
rwlbuis
On 2014/12/16 15:20:33, zhaoze.zhou wrote: lgtm. Much more readable.
6 years ago (2014-12-16 15:27:30 UTC) #3
rwlbuis
6 years ago (2014-12-16 15:54:22 UTC) #6
pfeldman
https://codereview.chromium.org/800113002/diff/80001/Source/core/inspector/DOMPatchSupport.cpp File Source/core/inspector/DOMPatchSupport.cpp (right): https://codereview.chromium.org/800113002/diff/80001/Source/core/inspector/DOMPatchSupport.cpp#newcode203 Source/core/inspector/DOMPatchSupport.cpp:203: for (auto it : attributes) { Here and below: ...
6 years ago (2014-12-16 16:52:11 UTC) #7
zhaoze.zhou
https://codereview.chromium.org/800113002/diff/80001/Source/core/inspector/DOMPatchSupport.cpp File Source/core/inspector/DOMPatchSupport.cpp (right): https://codereview.chromium.org/800113002/diff/80001/Source/core/inspector/DOMPatchSupport.cpp#newcode203 Source/core/inspector/DOMPatchSupport.cpp:203: for (auto it : attributes) { On 2014/12/16 16:52:10, ...
6 years ago (2014-12-16 18:56:40 UTC) #9
pfeldman
lgtm
6 years ago (2014-12-19 12:19:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/800113002/160001
6 years ago (2014-12-19 13:05:26 UTC) #13
commit-bot: I haz the power
Failed to apply patch for Source/core/inspector/InspectorResourceAgent.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years ago (2014-12-19 13:05:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/800113002/180001
6 years ago (2014-12-19 15:32:38 UTC) #17
commit-bot: I haz the power
6 years ago (2014-12-19 17:07:03 UTC) #18
Message was sent while issue was closed.
Committed patchset #7 (id:180001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187546

Powered by Google App Engine
This is Rietveld 408576698