| Index: third_party/WebKit/Source/platform/testing/PaintPrinters.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp b/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp
|
| index 259d82febd6aa3de93b6cdd4191bd7b0429ff0c5..abd63837c086ebcba29cc8e762556c7b738960c6 100644
|
| --- a/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp
|
| @@ -55,10 +55,33 @@ void PrintTo(const PaintChunk& chunk, std::ostream* os)
|
| void PrintTo(const PaintChunkProperties& properties, std::ostream* os)
|
| {
|
| *os << "PaintChunkProperties(";
|
| + bool printedProperty = false;
|
| if (properties.transform) {
|
| *os << "transform=";
|
| PrintTo(*properties.transform, os);
|
| + printedProperty = true;
|
| }
|
| +
|
| + if (properties.clip) {
|
| + if (printedProperty)
|
| + *os << ", ";
|
| + *os << "clip=";
|
| + PrintTo(*properties.clip, os);
|
| + printedProperty = true;
|
| + }
|
| +
|
| + if (properties.effect) {
|
| + if (printedProperty)
|
| + *os << ", ";
|
| + *os << "effect=";
|
| + PrintTo(*properties.effect, os);
|
| + printedProperty = true;
|
| + }
|
| +
|
| + if (printedProperty)
|
| + *os << ", ";
|
| + *os << "backfaceHidden=" << properties.backfaceHidden;
|
| +
|
| *os << ")";
|
| }
|
|
|
|
|