Remove DOMPromiseWithCallback
authoryouenn.fablet@crf.canon.fr <youenn.fablet@crf.canon.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Nov 2015 18:31:58 +0000 (18:31 +0000)
committeryouenn.fablet@crf.canon.fr <youenn.fablet@crf.canon.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Nov 2015 18:31:58 +0000 (18:31 +0000)
commit5ea1a77b5ffd89f1b0f57b192d50a255a4632bde
tree1139abec68848bc614f91a8144f4b42c70fcf735
parentfe88ee1bbc15dd9c0f17b98c00e8b7f33430e120
Remove DOMPromiseWithCallback
https://bugs.webkit.org/show_bug.cgi?id=151565

Reviewed by Eric Carlson.

DOMPromiseWithCallback is no longer used as WebCore JS built-ins are used to the cases where DOMPromiseWithCallback made sense.

No change in behavior.

* Modules/mediastream/MediaDevices.h: Moved from DOMPromiseWithCallback to DOMPromise since the API is now called by JS built-ins.
* bindings/js/JSDOMPromise.h:
(WebCore::DOMPromiseWithCallback::DOMPromiseWithCallback): Deleted.
(WebCore::DOMPromiseIteratorWithCallback::DOMPromiseIteratorWithCallback): Deleted.
(WebCore::Error>::resolve): Deleted.
(WebCore::Error>::reject): Deleted.
(WebCore::Error>::resolveEnd): Deleted.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@192746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediastream/MediaDevices.h
Source/WebCore/bindings/js/JSDOMPromise.h