-
tommyw@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=84723 Reviewed by Dimitri Glazkov. To allow Chrome to make the GetUserMedia functionality available by default we need another flag for the PeerConnection related parts. This new flag is in addition to the general media stream flag, and both need to be enabled for PeerConnection object creation. Source/WebCore: No code behavior changes. * bindings/generic/RuntimeEnabledFeatures.cpp: (WebCore): * bindings/generic/RuntimeEnabledFeatures.h: (RuntimeEnabledFeatures): (WebCore::RuntimeEnabledFeatures::peerConnectionEnabled): (WebCore::RuntimeEnabledFeatures::setPeerConnectionEnabled): (WebCore::RuntimeEnabledFeatures::webkitDeprecatedPeerConnectionEnabled): (WebCore::RuntimeEnabledFeatures::webkitPeerConnection00Enabled): Source/WebKit/chromium: * public/WebRuntimeFeatures.h: (WebRuntimeFeatures): * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enablePeerConnection): (WebKit): (WebKit::WebRuntimeFeatures::isPeerConnectionEnabled): Tools: * DumpRenderTree/chromium/TestShell.cpp: (TestShell::TestShell): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1d180f7c