Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp

Issue 2698473006: Set layer scroll data from PaintArtifactCompositor (Closed)
Patch Set: More comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 fe6018697e9bb21a3b10346fef1dfc6e78cf654c..a26f22a16fe95b02729f815aebb38261d274b871 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
@@ -9,9 +9,10 @@
namespace blink {
ScrollPaintPropertyNode* ScrollPaintPropertyNode::root() {
- DEFINE_STATIC_REF(ScrollPaintPropertyNode, root,
- (ScrollPaintPropertyNode::create(
- nullptr, IntSize(), IntSize(), false, false, 0)));
+ DEFINE_STATIC_REF(
+ ScrollPaintPropertyNode, root,
+ (ScrollPaintPropertyNode::create(nullptr, IntSize(), IntSize(), false,
+ false, 0, nullptr)));
return root;
}
@@ -40,6 +41,8 @@ String ScrollPaintPropertyNode::toString() const {
} else {
text.append("none");
}
+ if (m_scrollClient)
+ text.append(String::format(" scrollClient=%p", m_scrollClient));
return text.toString();
}

Powered by Google App Engine
This is Rietveld 408576698