Unreviewed, follow up to reflect comments
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2017 09:02:20 +0000 (09:02 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2017 09:02:20 +0000 (09:02 +0000)
https://bugs.webkit.org/show_bug.cgi?id=178340

* runtime/JSModuleLoader.cpp:
(JSC::JSModuleLoader::notifyCompleted):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/JSModuleLoader.cpp

index 5d5d613..0b23e6a 100644 (file)
@@ -1,3 +1,11 @@
+2017-10-20  Yusuke Suzuki  <utatane.tea@gmail.com>
+
+        Unreviewed, follow up to reflect comments
+        https://bugs.webkit.org/show_bug.cgi?id=178340
+
+        * runtime/JSModuleLoader.cpp:
+        (JSC::JSModuleLoader::notifyCompleted):
+
 2017-10-20  Saam Barati  <sbarati@apple.com>
 
         Optimize accesses to how we get the direct prototype
index fa59a91..b3b119f 100644 (file)
@@ -309,7 +309,7 @@ JSValue JSModuleLoader::notifyCompleted(ExecState* exec, JSValue scriptFetcher,
     if (!fetcher)
         return jsUndefined();
 
-    Identifier moduleKey = jsValueToModuleKey(exec, key);
+    auto moduleKey = jsValueToModuleKey(exec, key);
     fetcher->notifyLoadCompleted(*moduleKey.impl());
     return jsUndefined();
 }