From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.h') diff --git a/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.h b/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.h index 466636831..8d371d4ab 100644 --- a/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.h +++ b/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.h @@ -22,10 +22,9 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef RTCIceCandidateEvent_h -#define RTCIceCandidateEvent_h +#pragma once -#if ENABLE(MEDIA_STREAM) +#if ENABLE(WEB_RTC) #include "Event.h" #include @@ -37,22 +36,18 @@ class RTCIceCandidateEvent : public Event { public: virtual ~RTCIceCandidateEvent(); - static PassRefPtr create(); - static PassRefPtr create(bool canBubble, bool cancelable, PassRefPtr); + static Ref create(bool canBubble, bool cancelable, RefPtr&&); RTCIceCandidate* candidate() const; virtual EventInterface eventInterface() const; private: - RTCIceCandidateEvent(); - RTCIceCandidateEvent(bool canBubble, bool cancelable, PassRefPtr); + RTCIceCandidateEvent(bool canBubble, bool cancelable, RefPtr&&); RefPtr m_candidate; }; } // namespace WebCore -#endif // ENABLE(MEDIA_STREAM) - -#endif // RTCIceCandidateEvent_h +#endif // ENABLE(WEB_RTC) -- cgit v1.2.1