Title: [227213] trunk/Source/WebCore
Revision
227213
Author
[email protected]
Date
2018-01-19 10:12:45 -0800 (Fri, 19 Jan 2018)

Log Message

Unreviewed build fix, remove unused lambda captures.

* dom/messageports/MessagePortChannel.cpp:
(WebCore::MessagePortChannel::takeAllMessagesForPort):
* dom/messageports/MessagePortChannelRegistry.cpp:
(WebCore::MessagePortChannelRegistry::messagePortChannelCreated):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (227212 => 227213)


--- trunk/Source/WebCore/ChangeLog	2018-01-19 18:09:23 UTC (rev 227212)
+++ trunk/Source/WebCore/ChangeLog	2018-01-19 18:12:45 UTC (rev 227213)
@@ -1,3 +1,12 @@
+2018-01-19  Jonathan Bedard  <[email protected]>
+
+        Unreviewed build fix, remove unused lambda captures.
+
+        * dom/messageports/MessagePortChannel.cpp:
+        (WebCore::MessagePortChannel::takeAllMessagesForPort):
+        * dom/messageports/MessagePortChannelRegistry.cpp:
+        (WebCore::MessagePortChannelRegistry::messagePortChannelCreated):
+
 2018-01-19  Antoine Quint  <[email protected]>
 
         [Web Animations] Expose timing properties (delay, endDelay, fill, iterationStart, iterations, direction) and getComputedTiming()

Modified: trunk/Source/WebCore/dom/messageports/MessagePortChannel.cpp (227212 => 227213)


--- trunk/Source/WebCore/dom/messageports/MessagePortChannel.cpp	2018-01-19 18:09:23 UTC (rev 227212)
+++ trunk/Source/WebCore/dom/messageports/MessagePortChannel.cpp	2018-01-19 18:12:45 UTC (rev 227213)
@@ -184,6 +184,9 @@
     locker.unlockEarly();
     callback(WTFMove(result), [size, this, port, protectedThis = WTFMove(m_pendingMessageProtectors[i]), transferredPortProtectors = WTFMove(transferredPortProtectors)] {
         UNUSED_PARAM(port);
+#if LOG_DISABLED
+        UNUSED_PARAM(size);
+#endif
         --m_messageBatchesInFlight;
         LOG(MessagePorts, "Message port channel %s was notified that a batch of %zu message port messages targeted for port %s just completed dispatch, in flight is now %llu", logString().utf8().data(), size, port.logString().utf8().data(), m_messageBatchesInFlight);
 

Modified: trunk/Source/WebCore/dom/messageports/MessagePortChannelRegistry.cpp (227212 => 227213)


--- trunk/Source/WebCore/dom/messageports/MessagePortChannelRegistry.cpp	2018-01-19 18:09:23 UTC (rev 227212)
+++ trunk/Source/WebCore/dom/messageports/MessagePortChannelRegistry.cpp	2018-01-19 18:12:45 UTC (rev 227213)
@@ -48,12 +48,12 @@
     Locker<Lock> locker(m_openChannelsLock);
     ASSERT(isMainThread());
 
-    auto result = m_openChannels.ensure(channel.port1(), [this, channel = &channel] {
+    auto result = m_openChannels.ensure(channel.port1(), [channel = &channel] {
         return channel;
     });
     ASSERT(result.isNewEntry);
 
-    result = m_openChannels.ensure(channel.port2(), [this, channel = &channel] {
+    result = m_openChannels.ensure(channel.port2(), [channel = &channel] {
         return channel;
     });
     ASSERT(result.isNewEntry);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to