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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h

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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef PaintChunk_h 5 #ifndef PaintChunk_h
6 #define PaintChunk_h 6 #define PaintChunk_h
7 7
8 #include <iosfwd>
8 #include "platform/geometry/FloatRect.h" 9 #include "platform/geometry/FloatRect.h"
9 #include "platform/graphics/paint/DisplayItem.h" 10 #include "platform/graphics/paint/DisplayItem.h"
10 #include "platform/graphics/paint/PaintChunkProperties.h" 11 #include "platform/graphics/paint/PaintChunkProperties.h"
11 #include "wtf/Allocator.h" 12 #include "wtf/Allocator.h"
12 #include "wtf/Optional.h" 13 #include "wtf/Optional.h"
13 #include "wtf/Vector.h" 14 #include "wtf/Vector.h"
14 #include <iosfwd>
15 15
16 namespace blink { 16 namespace blink {
17 17
18 // A contiguous sequence of drawings with common paint properties. 18 // A contiguous sequence of drawings with common paint properties.
19 // 19 //
20 // This is expected to be owned by the paint artifact which also owns the 20 // This is expected to be owned by the paint artifact which also owns the
21 // related drawings. 21 // related drawings.
22 // 22 //
23 // This is a Slimming Paint v2 class. 23 // This is a Slimming Paint v2 class.
24 struct PaintChunk { 24 struct PaintChunk {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 const_cast<Vector<PaintChunk>&>(chunks), index); 123 const_cast<Vector<PaintChunk>&>(chunks), index);
124 } 124 }
125 125
126 // Redeclared here to avoid ODR issues. 126 // Redeclared here to avoid ODR issues.
127 // See platform/testing/PaintPrinters.h. 127 // See platform/testing/PaintPrinters.h.
128 void PrintTo(const PaintChunk&, std::ostream*); 128 void PrintTo(const PaintChunk&, std::ostream*);
129 129
130 } // namespace blink 130 } // namespace blink
131 131
132 #endif // PaintChunk_h 132 #endif // PaintChunk_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698