Unreviewed, silence -Wunused-parameter warning
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jan 2018 17:13:19 +0000 (17:13 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jan 2018 17:13:19 +0000 (17:13 +0000)
* testing/js/WebCoreTestSupport.cpp:
(WebCoreTestSupport::setupNewlyCreatedServiceWorker):

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

Source/WebCore/ChangeLog
Source/WebCore/testing/js/WebCoreTestSupport.cpp

index 1809ac6..1a2516c 100644 (file)
@@ -1,3 +1,10 @@
+2018-01-09  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        Unreviewed, silence -Wunused-parameter warning
+
+        * testing/js/WebCoreTestSupport.cpp:
+        (WebCoreTestSupport::setupNewlyCreatedServiceWorker):
+
 2018-01-09  Said Abou-Hallawa  <sabouhallawa@apple.com>
 
         Check Image::m_image is not null in ImageLoader::decode()
index 15f6331..fad0d17 100644 (file)
@@ -198,6 +198,8 @@ void setupNewlyCreatedServiceWorker(uint64_t serviceWorkerIdentifier)
         auto* contextWrapper = script->workerGlobalScopeWrapper();
         contextWrapper->putDirect(state.vm(), Identifier::fromString(&state, Internals::internalsId), toJS(&state, contextWrapper, ServiceWorkerInternals::create(identifier)));
     });
+#else
+    UNUSED_PARAM(serviceWorkerIdentifier);
 #endif
 }