| Index: third_party/WebKit/Source/platform/testing/PictureMatchers.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/PictureMatchers.cpp b/third_party/WebKit/Source/platform/testing/PictureMatchers.cpp
|
| index 5b84442d9babee1bb297df6a1b075b02b5206022..93b1aca25078c79735d2107f74abb39fc32e7060 100644
|
| --- a/third_party/WebKit/Source/platform/testing/PictureMatchers.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/PictureMatchers.cpp
|
| @@ -50,8 +50,7 @@ public:
|
| const FloatQuad& quad = quads[0].first;
|
| if (!quad.isRectilinear()) {
|
| if (listener->IsInterested()) {
|
| - *listener << "which draws ";
|
| - PrintTo(quad, listener->stream());
|
| + *listener << "which draws " << quad;
|
| *listener << " with color " << quads[0].second.serialized().ascii().data();
|
| }
|
| return false;
|
| @@ -60,8 +59,7 @@ public:
|
| const FloatRect& rect = quad.boundingBox();
|
| if (rect != m_rect || quads[0].second != m_color) {
|
| if (listener->IsInterested()) {
|
| - *listener << "which draws ";
|
| - PrintTo(rect, listener->stream());
|
| + *listener << "which draws " << rect;
|
| *listener << " with color " << quads[0].second.serialized().ascii().data();
|
| }
|
| return false;
|
| @@ -72,9 +70,7 @@ public:
|
|
|
| void DescribeTo(::std::ostream* os) const override
|
| {
|
| - *os << "draws ";
|
| - PrintTo(m_rect, os);
|
| - *os << " with color " << m_color.serialized().ascii().data();
|
| + *os << "draws " << m_rect << " with color " << m_color.serialized().ascii().data();
|
| }
|
|
|
| private:
|
|
|