Title: [216442] trunk/Source/WebKit2
- Revision
- 216442
- Author
- commit-qu...@webkit.org
- Date
- 2017-05-08 11:58:09 -0700 (Mon, 08 May 2017)
Log Message
Clean UserMediaCaptureManager::capabilities return value
https://bugs.webkit.org/show_bug.cgi?id=171808
Patch by Youenn Fablet <you...@apple.com> on 2017-05-08
Reviewed by Eric Carlson.
* WebProcess/cocoa/UserMediaCaptureManager.cpp:
(WebKit::UserMediaCaptureManager::capabilities):
* WebProcess/cocoa/UserMediaCaptureManager.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (216441 => 216442)
--- trunk/Source/WebKit2/ChangeLog 2017-05-08 18:40:46 UTC (rev 216441)
+++ trunk/Source/WebKit2/ChangeLog 2017-05-08 18:58:09 UTC (rev 216442)
@@ -1,3 +1,14 @@
+2017-05-08 Youenn Fablet <you...@apple.com>
+
+ Clean UserMediaCaptureManager::capabilities return value
+ https://bugs.webkit.org/show_bug.cgi?id=171808
+
+ Reviewed by Eric Carlson.
+
+ * WebProcess/cocoa/UserMediaCaptureManager.cpp:
+ (WebKit::UserMediaCaptureManager::capabilities):
+ * WebProcess/cocoa/UserMediaCaptureManager.h:
+
2017-05-08 Chris Dumez <cdu...@apple.com>
Move 'style' from Element to HTMLElement / SVGElement and make it settable
Modified: trunk/Source/WebKit2/WebProcess/cocoa/UserMediaCaptureManager.cpp (216441 => 216442)
--- trunk/Source/WebKit2/WebProcess/cocoa/UserMediaCaptureManager.cpp 2017-05-08 18:40:46 UTC (rev 216441)
+++ trunk/Source/WebKit2/WebProcess/cocoa/UserMediaCaptureManager.cpp 2017-05-08 18:58:09 UTC (rev 216442)
@@ -257,11 +257,11 @@
m_process.send(Messages::UserMediaCaptureManagerProxy::StopProducingData(id), 0);
}
-WebCore::RealtimeMediaSourceCapabilities&& UserMediaCaptureManager::capabilities(uint64_t id)
+WebCore::RealtimeMediaSourceCapabilities UserMediaCaptureManager::capabilities(uint64_t id)
{
WebCore::RealtimeMediaSourceCapabilities capabilities;
m_process.sendSync(Messages::UserMediaCaptureManagerProxy::Capabilities(id), Messages::UserMediaCaptureManagerProxy::Capabilities::Reply(capabilities), 0);
- return WTFMove(capabilities);
+ return capabilities;
}
void UserMediaCaptureManager::setMuted(uint64_t id, bool muted)
Modified: trunk/Source/WebKit2/WebProcess/cocoa/UserMediaCaptureManager.h (216441 => 216442)
--- trunk/Source/WebKit2/WebProcess/cocoa/UserMediaCaptureManager.h 2017-05-08 18:40:46 UTC (rev 216441)
+++ trunk/Source/WebKit2/WebProcess/cocoa/UserMediaCaptureManager.h 2017-05-08 18:58:09 UTC (rev 216442)
@@ -72,7 +72,7 @@
void startProducingData(uint64_t);
void stopProducingData(uint64_t);
- WebCore::RealtimeMediaSourceCapabilities&& capabilities(uint64_t);
+ WebCore::RealtimeMediaSourceCapabilities capabilities(uint64_t);
void setMuted(uint64_t, bool);
void setEnabled(uint64_t, bool);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes