Changeset 192470 in webkit
- Timestamp:
- Nov 16, 2015 6:15:12 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r192466 r192470 1 2015-11-16 Sebastian Dröge <sebastian@centricular.com> 2 3 WebRTC: Expose RTCPeerConnectionInternals functions to JS builtins. 4 https://bugs.webkit.org/show_bug.cgi?id=151302 5 6 Reviewed by Youenn Fablet. 7 8 * bindings/js/JSDOMWindowBase.cpp: 9 (WebCore::JSDOMWindowBase::finishCreation): 10 Expose RTCPeerConnectionInternals functions to JS builtins. 11 1 12 2015-11-16 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 13 -
trunk/Source/WebCore/bindings/js/JSDOMWindowBase.cpp
r191999 r192470 57 57 #endif 58 58 59 #if ENABLE(MEDIA_STREAM) 60 #include "RTCPeerConnectionInternalsBuiltins.h" 61 #endif 62 59 63 using namespace JSC; 60 64 … … 86 90 m_privateFunctions.init(*this); 87 91 88 #if ENABLE(STREAMS_API) 92 #if ENABLE(STREAMS_API) || ENABLE(MEDIA_STREAM) 89 93 JSVMClientData& clientData = *static_cast<JSVMClientData*>(vm.clientData); 90 94 #endif … … 118 122 #undef DECLARE_GLOBAL_STATIC 119 123 #endif 124 #if ENABLE(MEDIA_STREAM) 125 #define DECLARE_GLOBAL_STATIC(name)\ 126 GlobalPropertyInfo(\ 127 clientData.builtinFunctions().rTCPeerConnectionInternalsBuiltins().name##PrivateName(), m_privateFunctions.rTCPeerConnectionInternals().m_##name##Function.get() , DontDelete | ReadOnly), 128 WEBCORE_FOREACH_RTCPEERCONNECTIONINTERNALS_BUILTIN_FUNCTION_NAME(DECLARE_GLOBAL_STATIC) 129 #undef DECLARE_GLOBAL_STATIC 130 #endif 120 131 }; 121 132
Note: See TracChangeset
for help on using the changeset viewer.