Diff
Modified: trunk/ChangeLog (199006 => 199007)
--- trunk/ChangeLog 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/ChangeLog 2016-04-04 16:12:43 UTC (rev 199007)
@@ -1,3 +1,14 @@
+2016-04-04 Alejandro G. Castro <[email protected]>
+
+ REGRESSION(r198492): [GTK] The WEB_RTC flag was not correctly added in some situations
+ https://bugs.webkit.org/show_bug.cgi?id=156164
+
+ Reviewed by Philippe Normand.
+
+ Remove double space in the error message when openwebrtc is not present.
+
+ * Source/cmake/OptionsGTK.cmake:
+
2016-04-03 Carlos Garcia Campos <[email protected]>
Unreviewed. Bump GTK+ versions numbers.
Modified: trunk/Source/WebCore/ChangeLog (199006 => 199007)
--- trunk/Source/WebCore/ChangeLog 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/ChangeLog 2016-04-04 16:12:43 UTC (rev 199007)
@@ -1,3 +1,49 @@
+2016-04-04 Alejandro G. Castro <[email protected]>
+
+ REGRESSION(r198492): [GTK] The WEB_RTC flag was not correctly added in some situations
+ https://bugs.webkit.org/show_bug.cgi?id=156164
+
+ Reviewed by Philippe Normand.
+
+ Replace WEBRTC with WEB_RTC, in the idls add the new option
+ UsePointersEvenForNonNullableObjectArguments to fix compilation.
+
+ * Modules/mediastream/RTCDataChannel.idl:
+ * Modules/mediastream/RTCPeerConnection.idl:
+ * Modules/mediastream/RTCRtpReceiver.cpp:
+ * Modules/mediastream/RTCRtpReceiver.h:
+ * Modules/mediastream/RTCRtpSender.cpp:
+ * Modules/mediastream/RTCRtpSender.h:
+ * Modules/mediastream/RTCRtpSender.idl:
+ * Modules/mediastream/RTCRtpSenderReceiverBase.h:
+ * Modules/mediastream/RTCSessionDescription.cpp:
+ * Modules/mediastream/RTCSessionDescription.h:
+ * Modules/mediastream/RTCStatsReport.cpp:
+ * Modules/mediastream/RTCStatsResponse.cpp:
+ * Modules/mediastream/RTCTrackEvent.cpp:
+ * Modules/mediastream/RTCTrackEvent.h:
+ * Modules/mediastream/SDPProcessor.cpp:
+ * Modules/mediastream/SDPProcessor.h:
+ * bindings/generic/RuntimeEnabledFeatures.cpp:
+ (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
+ * bindings/generic/RuntimeEnabledFeatures.h:
+ * bindings/js/WebCoreJSBuiltinInternals.cpp:
+ (WebCore::JSBuiltinInternalFunctions::JSBuiltinInternalFunctions):
+ (WebCore::JSBuiltinInternalFunctions::visit):
+ (WebCore::JSBuiltinInternalFunctions::initialize):
+ * bindings/js/WebCoreJSBuiltinInternals.h:
+ * bindings/js/WebCoreJSBuiltins.h:
+ (WebCore::JSBuiltinFunctions::JSBuiltinFunctions):
+ * platform/mediastream/RTCSessionDescriptionDescriptor.cpp:
+ * platform/mediastream/RTCSessionDescriptionDescriptor.h:
+ * platform/mediastream/RTCSessionDescriptionRequest.h:
+ * platform/mediastream/RTCStatsRequest.h:
+ * platform/mediastream/RTCStatsResponseBase.h:
+ * platform/mediastream/RTCVoidRequest.h:
+ * platform/mediastream/SDPProcessorScriptResource.cpp:
+ * platform/mediastream/SDPProcessorScriptResource.h:
+ * platform/mock/TimerEventBasedMock.h:
+
2016-04-04 Carlos Garcia Campos <[email protected]>
REGRESSION(r198792): [GTK] Inspector crashes in Inspector::Protocol::getEnumConstantValue since r198792
Modified: trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.idl (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.idl 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.idl 2016-04-04 16:12:43 UTC (rev 199007)
@@ -25,6 +25,7 @@
[
NoInterfaceObject,
Conditional=WEB_RTC,
+ UsePointersEvenForNonNullableObjectArguments,
] interface RTCDataChannel : EventTarget {
readonly attribute DOMString label;
readonly attribute boolean ordered;
Modified: trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.idl (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.idl 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.idl 2016-04-04 16:12:43 UTC (rev 199007)
@@ -37,6 +37,7 @@
ConstructorCallWith=ScriptExecutionContext,
ConstructorRaisesException,
InterfaceName=webkitRTCPeerConnection,
+ UsePointersEvenForNonNullableObjectArguments,
] interface RTCPeerConnection : EventTarget {
// Private functions called by runQueuedOperation() (RTCPeerConnectionInternals.js)
Modified: trunk/Source/WebCore/Modules/mediastream/RTCRtpReceiver.cpp (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCRtpReceiver.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCRtpReceiver.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#include "config.h"
#include "RTCRtpReceiver.h"
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
namespace WebCore {
@@ -42,4 +42,4 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
Modified: trunk/Source/WebCore/Modules/mediastream/RTCRtpReceiver.h (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCRtpReceiver.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCRtpReceiver.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef RTCRtpReceiver_h
#define RTCRtpReceiver_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "RTCRtpSenderReceiverBase.h"
@@ -50,6 +50,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // RTCRtpReceiver_h
Modified: trunk/Source/WebCore/Modules/mediastream/RTCRtpSender.cpp (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCRtpSender.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCRtpSender.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#include "config.h"
#include "RTCRtpSender.h"
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "DOMError.h"
#include "ExceptionCode.h"
@@ -70,4 +70,4 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
Modified: trunk/Source/WebCore/Modules/mediastream/RTCRtpSender.h (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCRtpSender.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCRtpSender.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef RTCRtpSender_h
#define RTCRtpSender_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "PeerConnectionBackend.h"
#include "RTCRtpSenderReceiverBase.h"
@@ -70,6 +70,5 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
-
+#endif // ENABLE(WEB_RTC)
#endif // RTCRtpSender_h
Modified: trunk/Source/WebCore/Modules/mediastream/RTCRtpSender.idl (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCRtpSender.idl 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCRtpSender.idl 2016-04-04 16:12:43 UTC (rev 199007)
@@ -29,7 +29,8 @@
*/
[
- Conditional=WEB_RTC
+ Conditional=WEB_RTC,
+ UsePointersEvenForNonNullableObjectArguments,
] interface RTCRtpSender {
readonly attribute MediaStreamTrack track;
Modified: trunk/Source/WebCore/Modules/mediastream/RTCRtpSenderReceiverBase.h (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCRtpSenderReceiverBase.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCRtpSenderReceiverBase.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef RTCRtpSenderReceiverBase_h
#define RTCRtpSenderReceiverBase_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "MediaStreamTrack.h"
#include "ScriptWrappable.h"
@@ -58,6 +58,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // RTCRtpSenderReceiverBase_h
Modified: trunk/Source/WebCore/Modules/mediastream/RTCSessionDescription.cpp (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCSessionDescription.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCSessionDescription.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#include "config.h"
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "RTCSessionDescription.h"
@@ -89,4 +89,4 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
Modified: trunk/Source/WebCore/Modules/mediastream/RTCSessionDescription.h (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCSessionDescription.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCSessionDescription.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef RTCSessionDescription_h
#define RTCSessionDescription_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "ExceptionCode.h"
#include "ScriptWrappable.h"
@@ -65,6 +65,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // RTCSessionDescription_h
Modified: trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.cpp (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -25,7 +25,7 @@
#include "config.h"
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "RTCStatsReport.h"
@@ -70,4 +70,4 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
Modified: trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.cpp (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -24,7 +24,7 @@
#include "config.h"
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "RTCStatsResponse.h"
@@ -67,4 +67,4 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
Modified: trunk/Source/WebCore/Modules/mediastream/RTCTrackEvent.cpp (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCTrackEvent.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCTrackEvent.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#include "config.h"
#include "RTCTrackEvent.h"
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "EventNames.h"
#include "MediaStreamTrack.h"
@@ -65,4 +65,4 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
Modified: trunk/Source/WebCore/Modules/mediastream/RTCTrackEvent.h (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/RTCTrackEvent.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/RTCTrackEvent.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef RTCTrackEvent_h
#define RTCTrackEvent_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "Event.h"
#include <wtf/text/AtomicString.h>
@@ -66,6 +66,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // RTCTrackEvent_h
Modified: trunk/Source/WebCore/Modules/mediastream/SDPProcessor.cpp (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/SDPProcessor.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/SDPProcessor.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -30,7 +30,7 @@
#include "config.h"
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "SDPProcessor.h"
#include "Document.h"
@@ -538,4 +538,4 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
Modified: trunk/Source/WebCore/Modules/mediastream/SDPProcessor.h (199006 => 199007)
--- trunk/Source/WebCore/Modules/mediastream/SDPProcessor.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/Modules/mediastream/SDPProcessor.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef SDPProcessor_h
#define SDPProcessor_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "ContextDestructionObserver.h"
#include "IceCandidate.h"
@@ -68,6 +68,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // SDPProcessor_h
Modified: trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp (199006 => 199007)
--- trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -62,7 +62,7 @@
#if ENABLE(MEDIA_STREAM)
, m_isMediaStreamEnabled(true)
#endif
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
, m_isPeerConnectionEnabled(true)
#endif
#if ENABLE(LEGACY_CSS_VENDOR_PREFIXES)
Modified: trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h (199006 => 199007)
--- trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -134,7 +134,7 @@
bool webkitGetUserMediaEnabled() const { return m_isMediaStreamEnabled; }
bool webkitMediaStreamEnabled() const { return m_isMediaStreamEnabled; }
#endif
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
bool peerConnectionEnabled() const { return m_isMediaStreamEnabled && m_isPeerConnectionEnabled; }
void setPeerConnectionEnabled(bool isEnabled) { m_isPeerConnectionEnabled = isEnabled; }
bool webkitRTCPeerConnectionEnabled() const { return peerConnectionEnabled(); }
@@ -246,7 +246,7 @@
#if ENABLE(MEDIA_STREAM)
bool m_isMediaStreamEnabled;
#endif
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
bool m_isPeerConnectionEnabled;
#endif
Modified: trunk/Source/WebCore/bindings/js/WebCoreJSBuiltinInternals.cpp (199006 => 199007)
--- trunk/Source/WebCore/bindings/js/WebCoreJSBuiltinInternals.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/bindings/js/WebCoreJSBuiltinInternals.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -40,7 +40,7 @@
JSBuiltinInternalFunctions::JSBuiltinInternalFunctions(JSC::VM& v)
: vm(v)
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
, m_rtcPeerConnectionInternalsFunctions(vm)
#endif
#if ENABLE(STREAMS_API)
@@ -53,7 +53,7 @@
void JSBuiltinInternalFunctions::visit(JSC::SlotVisitor& visitor)
{
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
m_rtcPeerConnectionInternalsFunctions.visit(visitor);
#endif
#if ENABLE(STREAMS_API)
@@ -61,14 +61,14 @@
m_streamInternalsFunctions.visit(visitor);
m_writableStreamInternalsFunctions.visit(visitor);
#endif
-#if !ENABLE(STREAMS_API) && !ENABLE(WEBRTC)
+#if !ENABLE(STREAMS_API) && !ENABLE(WEB_RTC)
UNUSED_PARAM(visitor);
#endif
}
void JSBuiltinInternalFunctions::initialize(JSDOMGlobalObject& globalObject, VM& vm)
{
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
m_rtcPeerConnectionInternalsFunctions.init(globalObject);
#endif
#if ENABLE(STREAMS_API)
@@ -77,11 +77,11 @@
m_writableStreamInternalsFunctions.init(globalObject);
#endif
-#if ENABLE(STREAMS_API) || ENABLE(WEBRTC)
+#if ENABLE(STREAMS_API) || ENABLE(WEB_RTC)
JSVMClientData& clientData = *static_cast<JSVMClientData*>(vm.clientData);
JSDOMGlobalObject::GlobalPropertyInfo staticGlobals[] = {
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#define DECLARE_GLOBAL_STATIC(name)\
JSDOMGlobalObject::GlobalPropertyInfo(\
clientData.builtinFunctions().rtcPeerConnectionInternalsBuiltins().name##PrivateName(), rtcPeerConnectionInternals().m_##name##Function.get() , DontDelete | ReadOnly),
@@ -109,7 +109,7 @@
globalObject.addStaticGlobals(staticGlobals, WTF_ARRAY_LENGTH(staticGlobals));
#endif
-#if !ENABLE(STREAMS_API) && !ENABLE(WEBRTC)
+#if !ENABLE(STREAMS_API) && !ENABLE(WEB_RTC)
UNUSED_PARAM(globalObject);
UNUSED_PARAM(vm);
#endif
Modified: trunk/Source/WebCore/bindings/js/WebCoreJSBuiltinInternals.h (199006 => 199007)
--- trunk/Source/WebCore/bindings/js/WebCoreJSBuiltinInternals.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/bindings/js/WebCoreJSBuiltinInternals.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -29,7 +29,7 @@
#include <runtime/VM.h>
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "RTCPeerConnectionInternalsBuiltins.h"
#endif
@@ -48,7 +48,7 @@
public:
explicit JSBuiltinInternalFunctions(JSC::VM&);
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
RTCPeerConnectionInternalsBuiltinFunctions rtcPeerConnectionInternals() { return m_rtcPeerConnectionInternalsFunctions; }
#endif
#if ENABLE(STREAMS_API)
@@ -62,7 +62,7 @@
private:
JSC::VM& vm;
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
RTCPeerConnectionInternalsBuiltinFunctions m_rtcPeerConnectionInternalsFunctions;
#endif
#if ENABLE(STREAMS_API)
Modified: trunk/Source/WebCore/bindings/js/WebCoreJSBuiltins.h (199006 => 199007)
--- trunk/Source/WebCore/bindings/js/WebCoreJSBuiltins.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/bindings/js/WebCoreJSBuiltins.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -69,7 +69,7 @@
, m_mediaDevicesBuiltins(&vm)
, m_navigatorUserMediaBuiltins(&vm)
#endif
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
, m_rtcPeerConnectionBuiltins(&vm)
, m_rtcPeerConnectionInternalsBuiltins(&vm)
#endif
@@ -79,7 +79,7 @@
m_streamInternalsBuiltins.exportNames();
m_writableStreamInternalsBuiltins.exportNames();
#endif
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
m_rtcPeerConnectionInternalsBuiltins.exportNames();
#endif
}
@@ -102,7 +102,7 @@
MediaDevicesBuiltinsWrapper& mediaDevicesBuiltins() { return m_mediaDevicesBuiltins; }
NavigatorUserMediaBuiltinsWrapper& navigatorUserMediaBuiltins() { return m_navigatorUserMediaBuiltins;}
#endif
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
RTCPeerConnectionBuiltinsWrapper& rtcPeerConnectionBuiltins() { return m_rtcPeerConnectionBuiltins; }
RTCPeerConnectionInternalsBuiltinsWrapper& rtcPeerConnectionInternalsBuiltins() { return m_rtcPeerConnectionInternalsBuiltins; }
#endif
@@ -128,7 +128,7 @@
MediaDevicesBuiltinsWrapper m_mediaDevicesBuiltins;
NavigatorUserMediaBuiltinsWrapper m_navigatorUserMediaBuiltins;
#endif
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
RTCPeerConnectionBuiltinsWrapper m_rtcPeerConnectionBuiltins;
RTCPeerConnectionInternalsBuiltinsWrapper m_rtcPeerConnectionInternalsBuiltins;
#endif
Modified: trunk/Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.cpp (199006 => 199007)
--- trunk/Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -30,7 +30,7 @@
#include "config.h"
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "RTCSessionDescriptionDescriptor.h"
@@ -53,4 +53,4 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
Modified: trunk/Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.h (199006 => 199007)
--- trunk/Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef RTCSessionDescriptionDescriptor_h
#define RTCSessionDescriptionDescriptor_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
@@ -59,6 +59,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // RTCSessionDescriptionDescriptor_h
Modified: trunk/Source/WebCore/platform/mediastream/RTCSessionDescriptionRequest.h (199006 => 199007)
--- trunk/Source/WebCore/platform/mediastream/RTCSessionDescriptionRequest.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/platform/mediastream/RTCSessionDescriptionRequest.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef RTCSessionDescriptionRequest_h
#define RTCSessionDescriptionRequest_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
@@ -66,6 +66,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // RTCSessionDescriptionRequest_h
Modified: trunk/Source/WebCore/platform/mediastream/RTCStatsRequest.h (199006 => 199007)
--- trunk/Source/WebCore/platform/mediastream/RTCStatsRequest.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/platform/mediastream/RTCStatsRequest.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef RTCStatsRequest_h
#define RTCStatsRequest_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
@@ -58,6 +58,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // RTCStatsRequest_h
Modified: trunk/Source/WebCore/platform/mediastream/RTCStatsResponseBase.h (199006 => 199007)
--- trunk/Source/WebCore/platform/mediastream/RTCStatsResponseBase.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/platform/mediastream/RTCStatsResponseBase.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -25,7 +25,7 @@
#ifndef RTCStatsResponseBase_h
#define RTCStatsResponseBase_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
@@ -43,7 +43,7 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // RTCStatsResponseBase_h
Modified: trunk/Source/WebCore/platform/mediastream/RTCVoidRequest.h (199006 => 199007)
--- trunk/Source/WebCore/platform/mediastream/RTCVoidRequest.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/platform/mediastream/RTCVoidRequest.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef RTCVoidRequest_h
#define RTCVoidRequest_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
@@ -53,6 +53,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // RTCVoidRequest_h
Modified: trunk/Source/WebCore/platform/mediastream/SDPProcessorScriptResource.cpp (199006 => 199007)
--- trunk/Source/WebCore/platform/mediastream/SDPProcessorScriptResource.cpp 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/platform/mediastream/SDPProcessorScriptResource.cpp 2016-04-04 16:12:43 UTC (rev 199007)
@@ -30,7 +30,7 @@
#include "config.h"
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "SDPProcessorScriptResource.h"
namespace WebCore {
@@ -46,4 +46,4 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
Modified: trunk/Source/WebCore/platform/mediastream/SDPProcessorScriptResource.h (199006 => 199007)
--- trunk/Source/WebCore/platform/mediastream/SDPProcessorScriptResource.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/platform/mediastream/SDPProcessorScriptResource.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -31,7 +31,7 @@
#ifndef SDPProcessorScriptResource_h
#define SDPProcessorScriptResource_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include <wtf/text/WTFString.h>
@@ -45,6 +45,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // SDPProcessorScriptResource_h
Modified: trunk/Source/WebCore/platform/mock/TimerEventBasedMock.h (199006 => 199007)
--- trunk/Source/WebCore/platform/mock/TimerEventBasedMock.h 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/WebCore/platform/mock/TimerEventBasedMock.h 2016-04-04 16:12:43 UTC (rev 199007)
@@ -26,7 +26,7 @@
#ifndef TimerEventBasedMock_h
#define TimerEventBasedMock_h
-#if ENABLE(WEBRTC)
+#if ENABLE(WEB_RTC)
#include "Timer.h"
#include <wtf/PassRefPtr.h>
@@ -85,6 +85,6 @@
} // namespace WebCore
-#endif // ENABLE(WEBRTC)
+#endif // ENABLE(WEB_RTC)
#endif // TimerEventBasedMock_h
Modified: trunk/Source/cmake/OptionsGTK.cmake (199006 => 199007)
--- trunk/Source/cmake/OptionsGTK.cmake 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Source/cmake/OptionsGTK.cmake 2016-04-04 16:12:43 UTC (rev 199007)
@@ -266,7 +266,7 @@
if (ENABLE_MEDIA_STREAM OR ENABLE_WEB_RTC)
find_package(OpenWebRTC)
if (NOT OPENWEBRTC_FOUND)
- message(FATAL_ERROR "OpenWebRTC is needed for ENABLE_MEDIA_STREAM and ENABLE_WEB_RTC.")
+ message(FATAL_ERROR "OpenWebRTC is needed for ENABLE_MEDIA_STREAM and ENABLE_WEB_RTC.")
endif ()
SET_AND_EXPOSE_TO_BUILD(USE_OPENWEBRTC TRUE)
endif ()
Modified: trunk/Tools/ChangeLog (199006 => 199007)
--- trunk/Tools/ChangeLog 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Tools/ChangeLog 2016-04-04 16:12:43 UTC (rev 199007)
@@ -1,3 +1,14 @@
+2016-04-04 Alejandro G. Castro <[email protected]>
+
+ REGRESSION(r198492): [GTK] The WEB_RTC flag was not correctly added in some situations
+ https://bugs.webkit.org/show_bug.cgi?id=156164
+
+ Reviewed by Philippe Normand.
+
+ Enable the new WEB_RTC option by default for Gtk+.
+
+ * Scripts/webkitperl/FeatureList.pm:
+
2016-04-03 Dan Bernstein <[email protected]>
Use the correct value for the first nightly build with frameworks built for OS X 10.11.
Modified: trunk/Tools/Scripts/webkitperl/FeatureList.pm (199006 => 199007)
--- trunk/Tools/Scripts/webkitperl/FeatureList.pm 2016-04-04 15:46:17 UTC (rev 199006)
+++ trunk/Tools/Scripts/webkitperl/FeatureList.pm 2016-04-04 16:12:43 UTC (rev 199007)
@@ -106,6 +106,7 @@
$mediaSourceSupport,
$mediaStatisticsSupport,
$mediaStreamSupport,
+ $webRTCSupport,
$meterElementSupport,
$mhtmlSupport,
$modulesSupport,
@@ -337,6 +338,9 @@
{ option => "media-stream", desc => "Toggle Media Stream support",
define => "ENABLE_MEDIA_STREAM", default => (isGtk()), value => \$mediaStreamSupport },
+ { option => "web-rtc", desc => "Toggle WebRTC support",
+ define => "ENABLE_WEB_RTC", default => (isGtk()), value => \$webRTCSupport },
+
{ option => "meter-element", desc => "Toggle Meter Element support",
define => "ENABLE_METER_ELEMENT", default => !isAppleWinWebKit(), value => \$meterElementSupport },