Title: [216488] trunk/Source/WebCore
Revision
216488
Author
commit-qu...@webkit.org
Date
2017-05-09 02:41:49 -0700 (Tue, 09 May 2017)

Log Message

Fix property names in ScrollingTreeScrollingNode::dumpProperties
https://bugs.webkit.org/show_bug.cgi?id=171848

Patch by Frederic Wang <fw...@igalia.com> on 2017-05-09
Reviewed by Gyuyoung Kim.

No new tests, this function is only used for debugging purpose.

* page/scrolling/ScrollingTreeScrollingNode.cpp:
(WebCore::ScrollingTreeScrollingNode::dumpProperties):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (216487 => 216488)


--- trunk/Source/WebCore/ChangeLog	2017-05-09 09:40:07 UTC (rev 216487)
+++ trunk/Source/WebCore/ChangeLog	2017-05-09 09:41:49 UTC (rev 216488)
@@ -1,3 +1,15 @@
+2017-05-09  Frederic Wang  <fw...@igalia.com>
+
+        Fix property names in ScrollingTreeScrollingNode::dumpProperties
+        https://bugs.webkit.org/show_bug.cgi?id=171848
+
+        Reviewed by Gyuyoung Kim.
+
+        No new tests, this function is only used for debugging purpose.
+
+        * page/scrolling/ScrollingTreeScrollingNode.cpp:
+        (WebCore::ScrollingTreeScrollingNode::dumpProperties):
+
 2017-05-09  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [GTK] Building Webkit2Gtk without OpenGL fails.

Modified: trunk/Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp (216487 => 216488)


--- trunk/Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp	2017-05-09 09:40:07 UTC (rev 216487)
+++ trunk/Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp	2017-05-09 09:41:49 UTC (rev 216488)
@@ -140,9 +140,9 @@
         ts.dumpProperty("total content size for rubber band", m_totalContentsSizeForRubberBand);
     if (m_reachableContentsSize != m_totalContentsSize)
         ts.dumpProperty("reachable content size", m_reachableContentsSize);
-    ts.dumpProperty("scrollable area size", m_lastCommittedScrollPosition);
+    ts.dumpProperty("last committed scroll position", m_lastCommittedScrollPosition);
     if (m_scrollOrigin != IntPoint())
-        ts.dumpProperty("scrollable area size", m_scrollOrigin);
+        ts.dumpProperty("scroll origin", m_scrollOrigin);
 
 #if ENABLE(CSS_SCROLL_SNAP)
     if (m_snapOffsetsInfo.horizontalSnapOffsets.size())
@@ -149,7 +149,7 @@
         ts.dumpProperty("horizontal snap offsets", m_snapOffsetsInfo.horizontalSnapOffsets);
 
     if (m_snapOffsetsInfo.verticalSnapOffsets.size())
-        ts.dumpProperty("horizontal snap offsets", m_snapOffsetsInfo.verticalSnapOffsets);
+        ts.dumpProperty("vertical snap offsets", m_snapOffsetsInfo.verticalSnapOffsets);
 
     if (m_currentHorizontalSnapPointIndex)
         ts.dumpProperty("current horizontal snap point index", m_currentHorizontalSnapPointIndex);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to