OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "config.h" |
| 6 #include "platform/testing/PaintPrinters.h" |
| 7 |
| 8 #include "platform/graphics/paint/PaintChunk.h" |
| 9 #include "platform/graphics/paint/PaintProperties.h" |
| 10 #include <ostream> // NOLINT |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 void PrintTo(const PaintChunk& chunk, std::ostream* os) |
| 15 { |
| 16 *os << "PaintChunk(begin=" << chunk.beginIndex |
| 17 << ", end=" << chunk.endIndex |
| 18 << ", props="; |
| 19 PrintTo(chunk.properties, os); |
| 20 *os << ")"; |
| 21 } |
| 22 |
| 23 void PrintTo(const PaintProperties& properties, std::ostream* os) |
| 24 { |
| 25 *os << "PaintProperties()"; |
| 26 } |
| 27 |
| 28 } // namespace blink |
OLD | NEW |