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

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

Issue 2606863002: Complete XXXPaintPropertyNode::operator== and toString() (Closed)
Patch Set: - Created 4 years 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 accb40e3ebbe5a2d729a97b4943e90d53f81854a..f9b87e54f16540fc3598fa1179526c2f265f9e09 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
@@ -21,10 +21,11 @@ String ScrollPaintPropertyNode::toString() const {
MainThreadScrollingReason::mainThreadScrollingReasonsAsText(
m_mainThreadScrollingReasons);
return String::format(
- "scrollOffsetTranslation=%s clip=%s bounds=%s userScrollableHorizontal=%s"
+ "parent=%p scrollOffsetTranslation=%s clip=%s bounds=%s "
+ "userScrollableHorizontal=%s"
" userScrollableVertical=%s mainThreadScrollingReasons=%s",
- scrollOffset.toString().ascii().data(), m_clip.toString().ascii().data(),
- m_bounds.toString().ascii().data(),
+ m_parent.get(), scrollOffset.toString().ascii().data(),
+ m_clip.toString().ascii().data(), m_bounds.toString().ascii().data(),
m_userScrollableHorizontal ? "yes" : "no",
m_userScrollableVertical ? "yes" : "no",
mainThreadScrollingReasonsAsText.c_str());

Powered by Google App Engine
This is Rietveld 408576698