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

Side by Side Diff: third_party/WebKit/Source/platform/testing/PaintPrinters.cpp

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 #include "platform/testing/PaintPrinters.h" 5 #include "platform/testing/PaintPrinters.h"
6 6
7 #include <iomanip> // NOLINT
8 #include <ostream> // NOLINT
7 #include "platform/graphics/paint/PaintChunk.h" 9 #include "platform/graphics/paint/PaintChunk.h"
8 #include "platform/graphics/paint/PaintChunkProperties.h" 10 #include "platform/graphics/paint/PaintChunkProperties.h"
9 #include <iomanip> // NOLINT
10 #include <ostream> // NOLINT
11 11
12 namespace blink { 12 namespace blink {
13 13
14 void PrintTo(const PaintChunk& chunk, std::ostream* os) { 14 void PrintTo(const PaintChunk& chunk, std::ostream* os) {
15 *os << "PaintChunk(begin=" << chunk.begin_index << ", end=" << chunk.end_index 15 *os << "PaintChunk(begin=" << chunk.begin_index << ", end=" << chunk.end_index
16 << ", id="; 16 << ", id=";
17 if (!chunk.id) { 17 if (!chunk.id) {
18 *os << "null"; 18 *os << "null";
19 } else { 19 } else {
20 *os << "(" << &chunk.id->client << ", "; 20 *os << "(" << &chunk.id->client << ", ";
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 void PrintTo(const EffectPaintPropertyNode& node, std::ostream* os) { 85 void PrintTo(const EffectPaintPropertyNode& node, std::ostream* os) {
86 *os << "EffectPaintPropertyNode(" << node.ToString().Ascii().data() << ")"; 86 *os << "EffectPaintPropertyNode(" << node.ToString().Ascii().data() << ")";
87 } 87 }
88 88
89 void PrintTo(const ScrollPaintPropertyNode& node, std::ostream* os) { 89 void PrintTo(const ScrollPaintPropertyNode& node, std::ostream* os) {
90 *os << "ScrollPaintPropertyNode(" << node.ToString().Ascii().data() << ")"; 90 *os << "ScrollPaintPropertyNode(" << node.ToString().Ascii().data() << ")";
91 } 91 }
92 92
93 } // namespace blink 93 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698