RESOLVED FIXED 137246
Avoid copying the iterated-over items in range-based for-loops in RenderGrid
https://bugs.webkit.org/show_bug.cgi?id=137246
Summary Avoid copying the iterated-over items in range-based for-loops in RenderGrid
Zan Dobersek
Reported 2014-09-30 00:35:44 PDT
Avoid copying the iterated-over items in range-based for-loops in RenderGrid
Attachments
Patch (3.27 KB, patch)
2014-09-30 00:41 PDT, Zan Dobersek
svillar: review+
svillar: commit-queue-
Zan Dobersek
Comment 1 2014-09-30 00:41:00 PDT
WebKit Commit Bot
Comment 2 2014-09-30 00:43:36 PDT
Attachment 238913 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:8: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebCore/ChangeLog:9: Line contains tab character. [whitespace/tab] [5] Total errors found: 2 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sergio Villar Senin
Comment 3 2014-09-30 03:36:04 PDT
Comment on attachment 238913 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238913&action=review > Source/WebCore/ChangeLog:9 > + of the items that are being iterated. Something wrong with the indentation here > Source/WebCore/rendering/RenderGrid.cpp:562 > + for (auto& trackIndex : sizingData.contentSizedTracksIndex) { This is just a size_t. I don't think we need this...
Zan Dobersek
Comment 4 2014-09-30 04:31:27 PDT
Comment on attachment 238913 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238913&action=review >> Source/WebCore/ChangeLog:9 >> + of the items that are being iterated. > > Something wrong with the indentation here Tabs, somehow. >> Source/WebCore/rendering/RenderGrid.cpp:562 >> + for (auto& trackIndex : sizingData.contentSizedTracksIndex) { > > This is just a size_t. I don't think we need this... OK.
Zan Dobersek
Comment 5 2014-09-30 05:50:04 PDT
Note You need to log in before you can comment on or make changes to this bug.