Title: [258445] trunk/Source/WebKit
Revision
258445
Author
bfulg...@apple.com
Date
2020-03-13 16:29:08 -0700 (Fri, 13 Mar 2020)

Log Message

Remove unused IPC function UserMediaCaptureManagerProxy::SetMuted
https://bugs.webkit.org/show_bug.cgi?id=209087
<rdar://problem/59658963>

Reviewed by Eric Carlson.

Remove the unused UserMediaCaptureManagerProxy message 'SetMuted'.

* UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp:
(WebKit::UserMediaCaptureManagerProxy::setMuted): Deleted.
* UIProcess/Cocoa/UserMediaCaptureManagerProxy.h:
* UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (258444 => 258445)


--- trunk/Source/WebKit/ChangeLog	2020-03-13 23:21:28 UTC (rev 258444)
+++ trunk/Source/WebKit/ChangeLog	2020-03-13 23:29:08 UTC (rev 258445)
@@ -1,5 +1,20 @@
 2020-03-13  Brent Fulgham  <bfulg...@apple.com>
 
+        Remove unused IPC function UserMediaCaptureManagerProxy::SetMuted
+        https://bugs.webkit.org/show_bug.cgi?id=209087
+        <rdar://problem/59658963>
+
+        Reviewed by Eric Carlson.
+
+        Remove the unused UserMediaCaptureManagerProxy message 'SetMuted'.
+
+        * UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp:
+        (WebKit::UserMediaCaptureManagerProxy::setMuted): Deleted.
+        * UIProcess/Cocoa/UserMediaCaptureManagerProxy.h:
+        * UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in:
+
+2020-03-13  Brent Fulgham  <bfulg...@apple.com>
+
         Remove unused GetNetworkLoadInformationRequest call
         https://bugs.webkit.org/show_bug.cgi?id=209081
         <rdar://problem/59659064>

Modified: trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp (258444 => 258445)


--- trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp	2020-03-13 23:21:28 UTC (rev 258444)
+++ trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp	2020-03-13 23:29:08 UTC (rev 258445)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2017-2020 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -244,12 +244,6 @@
     completionHandler(WTFMove(capabilities));
 }
 
-void UserMediaCaptureManagerProxy::setMuted(RealtimeMediaSourceIdentifier id, bool muted)
-{
-    if (auto* proxy = m_proxies.get(id))
-        proxy->source().setMuted(muted);
-}
-
 void UserMediaCaptureManagerProxy::applyConstraints(RealtimeMediaSourceIdentifier id, const WebCore::MediaConstraints& constraints)
 {
     auto* proxy = m_proxies.get(id);

Modified: trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.h (258444 => 258445)


--- trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.h	2020-03-13 23:21:28 UTC (rev 258444)
+++ trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.h	2020-03-13 23:29:08 UTC (rev 258445)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2017-2020 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -75,7 +75,6 @@
     void stopProducingData(WebCore::RealtimeMediaSourceIdentifier);
     void end(WebCore::RealtimeMediaSourceIdentifier);
     void capabilities(WebCore::RealtimeMediaSourceIdentifier, CompletionHandler<void(WebCore::RealtimeMediaSourceCapabilities&&)>&&);
-    void setMuted(WebCore::RealtimeMediaSourceIdentifier, bool);
     void applyConstraints(WebCore::RealtimeMediaSourceIdentifier, const WebCore::MediaConstraints&);
     void clone(WebCore::RealtimeMediaSourceIdentifier clonedID, WebCore::RealtimeMediaSourceIdentifier cloneID);
     void requestToEnd(WebCore::RealtimeMediaSourceIdentifier);

Modified: trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in (258444 => 258445)


--- trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in	2020-03-13 23:21:28 UTC (rev 258444)
+++ trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in	2020-03-13 23:29:08 UTC (rev 258445)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2018 Apple Inc. All rights reserved.
+# Copyright (C) 2017-2020 Apple Inc. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -28,7 +28,6 @@
     StartProducingData(WebCore::RealtimeMediaSourceIdentifier id)
     StopProducingData(WebCore::RealtimeMediaSourceIdentifier id)
     End(WebCore::RealtimeMediaSourceIdentifier id)
-    SetMuted(WebCore::RealtimeMediaSourceIdentifier id, bool muted)
     ApplyConstraints(WebCore::RealtimeMediaSourceIdentifier id, struct WebCore::MediaConstraints constraints)
     Clone(WebCore::RealtimeMediaSourceIdentifier clonedID, WebCore::RealtimeMediaSourceIdentifier cloneID)
     RequestToEnd(WebCore::RealtimeMediaSourceIdentifier sourceID)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to