Title: [218663] trunk/Source/WebCore
- Revision
- 218663
- Author
- [email protected]
- Date
- 2017-06-21 17:24:38 -0700 (Wed, 21 Jun 2017)
Log Message
Build fix.
Reviewed by Tim "Mr. T" Horton.
* dom/ScriptedAnimationController.cpp:
(WebCore::ScriptedAnimationController::logSuspendCount):
* page/Page.cpp:
(WebCore::Page::suspendScriptedAnimations):
(WebCore::Page::resumeScriptedAnimations):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (218662 => 218663)
--- trunk/Source/WebCore/ChangeLog 2017-06-21 23:55:15 UTC (rev 218662)
+++ trunk/Source/WebCore/ChangeLog 2017-06-22 00:24:38 UTC (rev 218663)
@@ -1,5 +1,17 @@
2017-06-21 Antoine Quint <[email protected]>
+ Build fix.
+
+ Reviewed by Tim "Mr. T" Horton.
+
+ * dom/ScriptedAnimationController.cpp:
+ (WebCore::ScriptedAnimationController::logSuspendCount):
+ * page/Page.cpp:
+ (WebCore::Page::suspendScriptedAnimations):
+ (WebCore::Page::resumeScriptedAnimations):
+
+2017-06-21 Antoine Quint <[email protected]>
+
Ensure DRT always logs rAF suspension debugging code
https://bugs.webkit.org/show_bug.cgi?id=173681
Modified: trunk/Source/WebCore/dom/ScriptedAnimationController.cpp (218662 => 218663)
--- trunk/Source/WebCore/dom/ScriptedAnimationController.cpp 2017-06-21 23:55:15 UTC (rev 218662)
+++ trunk/Source/WebCore/dom/ScriptedAnimationController.cpp 2017-06-22 00:24:38 UTC (rev 218663)
@@ -94,11 +94,13 @@
void ScriptedAnimationController::logSuspendCount()
{
+#if PLATFORM(MAC)
if (!m_document || !m_document->frame() || MacApplication::isDumpRenderTree())
return;
WTFLogAlways("\nScriptedAnimationController::m_suspendCount = %d", m_suspendCount);
WTFReportBacktrace();
+#endif
}
#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) && !RELEASE_LOG_DISABLED
Modified: trunk/Source/WebCore/page/Page.cpp (218662 => 218663)
--- trunk/Source/WebCore/page/Page.cpp 2017-06-21 23:55:15 UTC (rev 218662)
+++ trunk/Source/WebCore/page/Page.cpp 2017-06-22 00:24:38 UTC (rev 218663)
@@ -1146,10 +1146,12 @@
void Page::suspendScriptedAnimations()
{
+#if PLATFORM(MAC)
if (MacApplication::isDumpRenderTree()) {
WTFLogAlways("\nPage::suspendScriptedAnimations()");
WTFReportBacktrace();
}
+#endif
m_scriptedAnimationsSuspended = true;
for (Frame* frame = &mainFrame(); frame; frame = frame->tree().traverseNext()) {
@@ -1160,10 +1162,12 @@
void Page::resumeScriptedAnimations()
{
+#if PLATFORM(MAC)
if (MacApplication::isDumpRenderTree()) {
WTFLogAlways("\nPage::resumeScriptedAnimations()");
WTFReportBacktrace();
}
+#endif
m_scriptedAnimationsSuspended = false;
for (Frame* frame = &mainFrame(); frame; frame = frame->tree().traverseNext()) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes