| 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 e786d3444975bfe87a1f2f26bf3d749131c7e8b0..1806c548666ba314a367033975a8275085cd592b 100644
|
| --- a/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp
|
| @@ -100,6 +100,14 @@ void PrintTo(const PaintChunkProperties& properties, std::ostream* os)
|
| printedProperty = true;
|
| }
|
|
|
| + if (properties.scroll) {
|
| + if (printedProperty)
|
| + *os << ", ";
|
| + *os << "scroll=";
|
| + PrintTo(*properties.scroll, os);
|
| + printedProperty = true;
|
| + }
|
| +
|
| if (printedProperty)
|
| *os << ", ";
|
| *os << "backfaceHidden=" << properties.backfaceHidden;
|
| @@ -121,4 +129,19 @@ void PrintTo(const EffectPaintPropertyNode& effect, std::ostream* os)
|
| *os << "EffectPaintPropertyNode(opacity=" << effect.opacity() << ")";
|
| }
|
|
|
| +void PrintTo(const ScrollPaintPropertyNode& node, std::ostream* os)
|
| +{
|
| + *os << "ScrollPaintPropertyNode(clip=";
|
| + PrintTo(node.clip(), os);
|
| + *os << ", bounds=";
|
| + PrintTo(node.bounds(), os);
|
| + *os << ", userScrollableHorizontal=" << node.userScrollableHorizontal();
|
| + *os << ", userScrollableVertical=" << node.userScrollableVertical();
|
| + *os << ", transform=";
|
| + PrintPointer(node.transform(), *os);
|
| + *os << ", parent=";
|
| + PrintPointer(node.parent(), *os);
|
| + *os << ")";
|
| +}
|
| +
|
| } // namespace blink
|
|
|