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

Side by Side Diff: third_party/WebKit/Source/core/paint/GridPainter.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/paint/GridPainter.h" 5 #include "core/paint/GridPainter.h"
6 6
7 #include <algorithm>
7 #include "core/layout/LayoutGrid.h" 8 #include "core/layout/LayoutGrid.h"
8 #include "core/paint/BlockPainter.h" 9 #include "core/paint/BlockPainter.h"
9 #include "core/paint/PaintInfo.h" 10 #include "core/paint/PaintInfo.h"
10 #include <algorithm>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 static GridSpan dirtiedGridAreas(const Vector<LayoutUnit>& coordinates, 14 static GridSpan dirtiedGridAreas(const Vector<LayoutUnit>& coordinates,
15 LayoutUnit start, 15 LayoutUnit start,
16 LayoutUnit end) { 16 LayoutUnit end) {
17 // This function does a binary search over the coordinates. 17 // This function does a binary search over the coordinates.
18 // This doesn't work with grid items overflowing their grid areas, but that is 18 // This doesn't work with grid items overflowing their grid areas, but that is
19 // managed with m_gridItemsOverflowingGridArea. 19 // managed with m_gridItemsOverflowingGridArea.
20 20
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 if (current == previous) 106 if (current == previous)
107 continue; 107 continue;
108 108
109 BlockPainter(m_layoutGrid) 109 BlockPainter(m_layoutGrid)
110 .paintAllChildPhasesAtomically(*current, paintInfo, paintOffset); 110 .paintAllChildPhasesAtomically(*current, paintInfo, paintOffset);
111 previous = current; 111 previous = current;
112 } 112 }
113 } 113 }
114 114
115 } // namespace blink 115 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterPainter.cpp ('k') | third_party/WebKit/Source/core/paint/ObjectPaintProperties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698