Title: [261732] trunk/Source/WebCore
Revision
261732
Author
[email protected]
Date
2020-05-15 00:00:19 -0700 (Fri, 15 May 2020)

Log Message

Unreviewed. Fix build warning after r261113

Remove unused variable.

* dom/ScriptedAnimationController.cpp:
(WebCore::ScriptedAnimationController::preferredScriptedAnimationInterval const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (261731 => 261732)


--- trunk/Source/WebCore/ChangeLog	2020-05-15 06:55:08 UTC (rev 261731)
+++ trunk/Source/WebCore/ChangeLog	2020-05-15 07:00:19 UTC (rev 261732)
@@ -1,3 +1,12 @@
+2020-05-14  Said Abou-Hallawa  <[email protected]>
+
+        Unreviewed. Fix build warning after r261113
+
+        Remove unused variable.
+
+        * dom/ScriptedAnimationController.cpp:
+        (WebCore::ScriptedAnimationController::preferredScriptedAnimationInterval const):
+
 2020-05-14  Andres Gonzalez  <[email protected]>
 
         Expose isColumnHeaderCell and isRowHeaderCell through AXCoreObject.

Modified: trunk/Source/WebCore/dom/ScriptedAnimationController.cpp (261731 => 261732)


--- trunk/Source/WebCore/dom/ScriptedAnimationController.cpp	2020-05-15 06:55:08 UTC (rev 261731)
+++ trunk/Source/WebCore/dom/ScriptedAnimationController.cpp	2020-05-15 07:00:19 UTC (rev 261732)
@@ -79,9 +79,7 @@
 
 Seconds ScriptedAnimationController::preferredScriptedAnimationInterval() const
 {
-    if (auto* page = this->page())
-        return preferredFrameInterval(m_throttlingReasons);
-    return FullSpeedAnimationInterval;
+    return preferredFrameInterval(m_throttlingReasons);
 }
 
 OptionSet<ThrottlingReason> ScriptedAnimationController::throttlingReasons() const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to