OLD | NEW |
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/TransformPrinters.h" | 5 #include "platform/testing/TransformPrinters.h" |
6 | 6 |
| 7 #include <ostream> // NOLINT |
7 #include "platform/transforms/AffineTransform.h" | 8 #include "platform/transforms/AffineTransform.h" |
8 #include "platform/transforms/TransformationMatrix.h" | 9 #include "platform/transforms/TransformationMatrix.h" |
9 #include "wtf/text/WTFString.h" | 10 #include "wtf/text/WTFString.h" |
10 #include <ostream> // NOLINT | |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 void PrintTo(const AffineTransform& transform, std::ostream* os) { | 14 void PrintTo(const AffineTransform& transform, std::ostream* os) { |
15 *os << transform.toString(); | 15 *os << transform.toString(); |
16 } | 16 } |
17 | 17 |
18 void PrintTo(const TransformationMatrix& matrix, std::ostream* os) { | 18 void PrintTo(const TransformationMatrix& matrix, std::ostream* os) { |
19 *os << matrix.toString(); | 19 *os << matrix.toString(); |
20 } | 20 } |
21 | 21 |
22 } // namespace blink | 22 } // namespace blink |
OLD | NEW |