| Index: third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp b/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
|
| index 5941bafe0b3874c1a38917232a18313646cfb66f..f5c37e3240a032dd52f872e0a2903790ed7ab1b1 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
|
| @@ -14,4 +14,18 @@ ScrollPaintPropertyNode* ScrollPaintPropertyNode::root() {
|
| return root;
|
| }
|
|
|
| +String ScrollPaintPropertyNode::toString() const {
|
| + FloatSize scrollOffset =
|
| + m_scrollOffsetTranslation->matrix().to2DTranslation();
|
| + std::string mainThreadScrollingReasonsAsText =
|
| + MainThreadScrollingReason::mainThreadScrollingReasonsAsText(
|
| + m_mainThreadScrollingReasons);
|
| + return String::format(
|
| + "scrollOffsetTranslation=%s clip=%s bounds=%s "
|
| + "mainThreadScrollingReasons=%s",
|
| + scrollOffset.toString().ascii().data(), m_clip.toString().ascii().data(),
|
| + m_bounds.toString().ascii().data(),
|
| + mainThreadScrollingReasonsAsText.c_str());
|
| +}
|
| +
|
| } // namespace blink
|
|
|