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

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

Issue 2594083002: Output more information in paint property node 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f5c37e3240a032dd52f872e0a2903790ed7ab1b1..accb40e3ebbe5a2d729a97b4943e90d53f81854a 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
@@ -21,10 +21,12 @@ String ScrollPaintPropertyNode::toString() const {
MainThreadScrollingReason::mainThreadScrollingReasonsAsText(
m_mainThreadScrollingReasons);
return String::format(
- "scrollOffsetTranslation=%s clip=%s bounds=%s "
- "mainThreadScrollingReasons=%s",
+ "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_userScrollableHorizontal ? "yes" : "no",
+ m_userScrollableVertical ? "yes" : "no",
mainThreadScrollingReasonsAsText.c_str());
}
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698