[Web Animations] Make WPT test at interfaces/KeyframeEffect/processing-a-keyframes...
authorgraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jul 2018 16:40:27 +0000 (16:40 +0000)
committergraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jul 2018 16:40:27 +0000 (16:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=186501
<rdar://problem/41000224>

Unreviewed build fix after r233729 and r233730.

* animation/KeyframeEffectReadOnly.cpp:
(WebCore::processIterableKeyframes):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233731 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/animation/KeyframeEffectReadOnly.cpp

index 1b63739..2a34e22 100644 (file)
@@ -4,6 +4,17 @@
         https://bugs.webkit.org/show_bug.cgi?id=186501
         <rdar://problem/41000224>
 
+        Unreviewed build fix after r233729 and r233730.
+
+        * animation/KeyframeEffectReadOnly.cpp:
+        (WebCore::processIterableKeyframes):
+
+2018-07-11  Antoine Quint  <graouts@apple.com>
+
+        [Web Animations] Make WPT test at interfaces/KeyframeEffect/processing-a-keyframes-argument-001.html pass reliably
+        https://bugs.webkit.org/show_bug.cgi?id=186501
+        <rdar://problem/41000224>
+
         Unreviewed build fix after r233729.
 
         * animation/KeyframeEffectReadOnly.cpp:
index 9a3cae8..60819fe 100644 (file)
@@ -268,8 +268,6 @@ static inline ExceptionOr<KeyframeEffectReadOnly::KeyframeLikeObject> processKey
 
 static inline ExceptionOr<void> processIterableKeyframes(ExecState& state, Strong<JSObject>&& keyframesInput, JSValue method, Vector<KeyframeEffectReadOnly::ParsedKeyframe>& parsedKeyframes)
 {
-    VM& vm = state.vm();
-
     // 1. Let iter be GetIterator(object, method).
     forEachInIterable(state, keyframesInput.get(), method, [&parsedKeyframes](VM& vm, ExecState& state, JSValue nextValue) -> ExceptionOr<void> {
         // Steps 2 through 6 are already implemented by forEachInIterable().