Title: [282731] trunk/Source/WebCore
- Revision
- 282731
- Author
- [email protected]
- Date
- 2021-09-18 15:59:41 -0700 (Sat, 18 Sep 2021)
Log Message
Remove some logging left in by mistake.
Unreviewed.
* platform/ScrollAnimationSmooth.cpp:
(WebCore::ScrollAnimationSmooth::startAnimatedScroll):
(WebCore::ScrollAnimationSmooth::startAnimatedScrollToDestination):
* platform/ScrollAnimator.cpp:
(WebCore::ScrollAnimator::setCurrentPosition):
(WebCore::ScrollAnimator::scrollAnimationDidUpdate):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (282730 => 282731)
--- trunk/Source/WebCore/ChangeLog 2021-09-18 22:44:53 UTC (rev 282730)
+++ trunk/Source/WebCore/ChangeLog 2021-09-18 22:59:41 UTC (rev 282731)
@@ -1,5 +1,18 @@
2021-09-18 Simon Fraser <[email protected]>
+ Remove some logging left in by mistake.
+
+ Unreviewed.
+
+ * platform/ScrollAnimationSmooth.cpp:
+ (WebCore::ScrollAnimationSmooth::startAnimatedScroll):
+ (WebCore::ScrollAnimationSmooth::startAnimatedScrollToDestination):
+ * platform/ScrollAnimator.cpp:
+ (WebCore::ScrollAnimator::setCurrentPosition):
+ (WebCore::ScrollAnimator::scrollAnimationDidUpdate):
+
+2021-09-18 Simon Fraser <[email protected]>
+
Remove use of NSScrollAnimationHelper for animated scrolls
https://bugs.webkit.org/show_bug.cgi?id=230445
Modified: trunk/Source/WebCore/platform/ScrollAnimationSmooth.cpp (282730 => 282731)
--- trunk/Source/WebCore/platform/ScrollAnimationSmooth.cpp 2021-09-18 22:44:53 UTC (rev 282730)
+++ trunk/Source/WebCore/platform/ScrollAnimationSmooth.cpp 2021-09-18 22:59:41 UTC (rev 282731)
@@ -68,7 +68,6 @@
}
m_duration = durationFromDistance(destinationPosition - m_startPosition);
- WTFLogAlways("Animation duration: %.2fms", m_duration.milliseconds());
auto extents = m_client.scrollExtentsForAnimation(*this);
return startOrRetargetAnimation(extents, destinationPosition);
@@ -79,8 +78,6 @@
m_startPosition = fromPosition;
m_duration = durationFromDistance(destinationPosition - m_startPosition);
- WTFLogAlways("Animation duration: %.2fms", m_duration.milliseconds());
-
auto extents = m_client.scrollExtentsForAnimation(*this);
return startOrRetargetAnimation(extents, destinationPosition);
}
Modified: trunk/Source/WebCore/platform/ScrollAnimator.cpp (282730 => 282731)
--- trunk/Source/WebCore/platform/ScrollAnimator.cpp 2021-09-18 22:44:53 UTC (rev 282730)
+++ trunk/Source/WebCore/platform/ScrollAnimator.cpp 2021-09-18 22:59:41 UTC (rev 282731)
@@ -239,8 +239,6 @@
void ScrollAnimator::setCurrentPosition(const FloatPoint& position)
{
- WTFLogAlways("setCurrentPosition to %.2f", position.y());
-
m_currentPosition = position;
updateActiveScrollSnapIndexForOffset();
}
@@ -386,7 +384,6 @@
void ScrollAnimator::scrollAnimationDidUpdate(ScrollAnimation&, const FloatPoint& position)
{
FloatSize delta = position - m_currentPosition;
- WTFLogAlways("scrollAnimationDidUpdate to %.2f", position.y());
m_currentPosition = position;
notifyPositionChanged(delta);
updateActiveScrollSnapIndexForOffset();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes