Title: [226640] trunk/Source/WebCore
Revision
226640
Author
[email protected]
Date
2018-01-09 09:13:19 -0800 (Tue, 09 Jan 2018)

Log Message

Unreviewed, silence -Wunused-parameter warning

* testing/js/WebCoreTestSupport.cpp:
(WebCoreTestSupport::setupNewlyCreatedServiceWorker):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (226639 => 226640)


--- trunk/Source/WebCore/ChangeLog	2018-01-09 16:50:18 UTC (rev 226639)
+++ trunk/Source/WebCore/ChangeLog	2018-01-09 17:13:19 UTC (rev 226640)
@@ -1,3 +1,10 @@
+2018-01-09  Michael Catanzaro  <[email protected]>
+
+        Unreviewed, silence -Wunused-parameter warning
+
+        * testing/js/WebCoreTestSupport.cpp:
+        (WebCoreTestSupport::setupNewlyCreatedServiceWorker):
+
 2018-01-09  Said Abou-Hallawa  <[email protected]>
 
         Check Image::m_image is not null in ImageLoader::decode()

Modified: trunk/Source/WebCore/testing/js/WebCoreTestSupport.cpp (226639 => 226640)


--- trunk/Source/WebCore/testing/js/WebCoreTestSupport.cpp	2018-01-09 16:50:18 UTC (rev 226639)
+++ trunk/Source/WebCore/testing/js/WebCoreTestSupport.cpp	2018-01-09 17:13:19 UTC (rev 226640)
@@ -198,6 +198,8 @@
         auto* contextWrapper = script->workerGlobalScopeWrapper();
         contextWrapper->putDirect(state.vm(), Identifier::fromString(&state, Internals::internalsId), toJS(&state, contextWrapper, ServiceWorkerInternals::create(identifier)));
     });
+#else
+    UNUSED_PARAM(serviceWorkerIdentifier);
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to