* bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp:
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Aug 2016 15:53:52 +0000 (15:53 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Aug 2016 15:53:52 +0000 (15:53 +0000)
        Regenerated results, which were affected by the sequence<T> change last night.

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

Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp

index 13e4b20914ae6ef5888714ea4d447cb5744243c2..60b0c0f073fe4d1c5ee0f602615de720a23f7269 100644 (file)
@@ -1,3 +1,8 @@
+2016-08-16  Darin Adler  <darin@apple.com>
+
+        * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp:
+        Regenerated results, which were affected by the sequence<T> change last night.
+
 2016-08-16  Per Arne Vollan  <pvollan@apple.com>
 
         [Win] Hardening of getLinkedFonts function.
index e34190f7fd4d107313d093cbf674d225850cfcc7..8bc483a6f3d6dc4e4069b6217bfa356e8b7c5f22 100644 (file)
@@ -70,7 +70,7 @@ static inline EncodedJSValue constructJSTestOverloadedConstructorsWithSequence1(
     auto sequenceOfStrings = state->argument(0).isUndefined() ? Vector<String>() : toNativeArray<String>(*state, state->uncheckedArgument(0));
     if (UNLIKELY(state->hadException()))
         return JSValue::encode(jsUndefined());
-    auto object = TestOverloadedConstructorsWithSequence::create(sequenceOfStrings);
+    auto object = TestOverloadedConstructorsWithSequence::create(WTFMove(sequenceOfStrings));
     return JSValue::encode(asObject(toJSNewlyCreated(state, castedThis->globalObject(), WTFMove(object))));
 }
 
@@ -82,7 +82,7 @@ static inline EncodedJSValue constructJSTestOverloadedConstructorsWithSequence2(
     auto string = state->argument(0).toWTFString(state);
     if (UNLIKELY(state->hadException()))
         return JSValue::encode(jsUndefined());
-    auto object = TestOverloadedConstructorsWithSequence::create(string);
+    auto object = TestOverloadedConstructorsWithSequence::create(WTFMove(string));
     return JSValue::encode(asObject(toJSNewlyCreated(state, castedThis->globalObject(), WTFMove(object))));
 }