Remove HasMediaCaptureDevice
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Nov 2016 18:19:19 +0000 (18:19 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Nov 2016 18:19:19 +0000 (18:19 +0000)
commit123ccdfa8a7558d5858abf05fdd1b2681795ffbf
treec3867e6eddf94c6728c31001acf82a7a7d03e066
parent771ec59e230054f90a7eb924b8898c0c1285131b
Remove HasMediaCaptureDevice
https://bugs.webkit.org/show_bug.cgi?id=164767
<rdar://problem/29263696>

Reviewed by Eric Carlson.

Source/WebCore:

* Modules/mediastream/MediaStream.cpp:
(WebCore::MediaStream::mediaState): Remove HasMediaCaptureDevice in state.
* page/MediaProducer.h:
* testing/Internals.cpp:
(WebCore::Internals::pageMediaState): Remove it in the media string.

Source/WebKit2:

* UIProcess/API/C/WKPage.cpp: Remove kWKMediaHasCaptureDevice.
(WKPageGetMediaState):
* UIProcess/API/C/WKPagePrivate.h:

LayoutTests:

* fast/mediastream/MediaStream-page-muted-expected.txt: Remove check for HasMediaCaptureDevice.
* fast/mediastream/MediaStream-page-muted.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/mediastream/MediaStream-page-muted-expected.txt
LayoutTests/fast/mediastream/MediaStream-page-muted.html
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediastream/MediaStream.cpp
Source/WebCore/page/MediaProducer.h
Source/WebCore/testing/Internals.cpp
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/C/WKPage.cpp
Source/WebKit2/UIProcess/API/C/WKPagePrivate.h