Title: [191547] trunk/Source/WebCore
Revision
191547
Author
[email protected]
Date
2015-10-25 00:42:56 -0700 (Sun, 25 Oct 2015)

Log Message

Use ImplementedAs for MediaDevices.getUserMediaFromJS
https://bugs.webkit.org/show_bug.cgi?id=150439

Reviewed by Darin Adler.

No change in behavior.

* Modules/mediastream/MediaDevices.h: Removing getUserMediaFromJS C++ function.
* Modules/mediastream/MediaDevices.idl: Marking getUserMediaFromJS as ImplementedAS=getUserMedia

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (191546 => 191547)


--- trunk/Source/WebCore/ChangeLog	2015-10-25 07:39:22 UTC (rev 191546)
+++ trunk/Source/WebCore/ChangeLog	2015-10-25 07:42:56 UTC (rev 191547)
@@ -1,3 +1,15 @@
+2015-10-25  Youenn Fablet  <[email protected]>
+
+        Use ImplementedAs for MediaDevices.getUserMediaFromJS
+        https://bugs.webkit.org/show_bug.cgi?id=150439
+
+        Reviewed by Darin Adler.
+
+        No change in behavior.
+
+        * Modules/mediastream/MediaDevices.h: Removing getUserMediaFromJS C++ function.
+        * Modules/mediastream/MediaDevices.idl: Marking getUserMediaFromJS as ImplementedAS=getUserMedia
+
 2015-10-24  Gwang Yoon Hwang  <[email protected]>
 
         Remove setApplyDeviceScaleFactorInCompositor

Modified: trunk/Source/WebCore/Modules/mediastream/MediaDevices.h (191546 => 191547)


--- trunk/Source/WebCore/Modules/mediastream/MediaDevices.h	2015-10-25 07:39:22 UTC (rev 191546)
+++ trunk/Source/WebCore/Modules/mediastream/MediaDevices.h	2015-10-25 07:42:56 UTC (rev 191547)
@@ -63,8 +63,6 @@
     void getUserMedia(const Dictionary&, Promise&&, ExceptionCode&) const;
     void enumerateDevices(EnumerateDevicesPromise&&, ExceptionCode&) const;
 
-    void getUserMediaFromJS(const Dictionary& dictionary, Promise&& promise, ExceptionCode& ec) const { getUserMedia(dictionary, WTF::move(promise), ec); }
-
 private:
     explicit MediaDevices(ScriptExecutionContext*);
 };

Modified: trunk/Source/WebCore/Modules/mediastream/MediaDevices.idl (191546 => 191547)


--- trunk/Source/WebCore/Modules/mediastream/MediaDevices.idl	2015-10-25 07:39:22 UTC (rev 191546)
+++ trunk/Source/WebCore/Modules/mediastream/MediaDevices.idl	2015-10-25 07:42:56 UTC (rev 191547)
@@ -35,5 +35,5 @@
     [JSBuiltin] Promise getUserMedia(Dictionary options);
     [RaisesException] Promise enumerateDevices();
 
-    [Private, RaisesException] Promise getUserMediaFromJS(Dictionary options);
+    [Private, RaisesException, ImplementedAs=getUserMedia] Promise getUserMediaFromJS(Dictionary options);
 };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to