From 0cd80d6139fdfc5d99ea9cf28eed325431b690d3 Mon Sep 17 00:00:00 2001 From: "Hironori.Fujii@sony.com" Date: Wed, 11 Apr 2018 00:39:59 +0000 Subject: [PATCH] [Win][WebKit] LibWebRTCProvider::webRTCAvailable is an undefined symbol https://bugs.webkit.org/show_bug.cgi?id=184437 Reviewed by Michael Catanzaro. No new tests (No behavior change). * PlatformWin.cmake: Added LibWebRTCProviderWin.cpp. * platform/mediastream/libwebrtc/LibWebRTCProviderWin.cpp: Added. (WebCore::LibWebRTCProvider::webRTCAvailable): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230504 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/ChangeLog | 13 ++++++++ Source/WebCore/PlatformWin.cmake | 2 ++ .../mediastream/libwebrtc/LibWebRTCProviderWin.cpp | 36 ++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderWin.cpp diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 15cacc5..1f04f17 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,16 @@ +2018-04-10 Fujii Hironori + + [Win][WebKit] LibWebRTCProvider::webRTCAvailable is an undefined symbol + https://bugs.webkit.org/show_bug.cgi?id=184437 + + Reviewed by Michael Catanzaro. + + No new tests (No behavior change). + + * PlatformWin.cmake: Added LibWebRTCProviderWin.cpp. + * platform/mediastream/libwebrtc/LibWebRTCProviderWin.cpp: Added. + (WebCore::LibWebRTCProvider::webRTCAvailable): + 2018-04-10 Chris Dumez Unreviewed build fix. diff --git a/Source/WebCore/PlatformWin.cmake b/Source/WebCore/PlatformWin.cmake index aa29f69..443ddd7 100644 --- a/Source/WebCore/PlatformWin.cmake +++ b/Source/WebCore/PlatformWin.cmake @@ -71,6 +71,8 @@ list(APPEND WebCore_SOURCES platform/graphics/win/TransformationMatrixWin.cpp platform/graphics/win/UniscribeController.cpp + platform/mediastream/libwebrtc/LibWebRTCProviderWin.cpp + platform/network/win/DownloadBundleWin.cpp platform/network/win/NetworkStateNotifierWin.cpp diff --git a/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderWin.cpp b/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderWin.cpp new file mode 100644 index 0000000..b4c5ef0 --- /dev/null +++ b/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderWin.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2018 Sony Interactive Entertainment Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + * THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include "config.h" +#include "LibWebRTCProvider.h" + +namespace WebCore { + +bool LibWebRTCProvider::webRTCAvailable() +{ + return false; +} + +} // namespace WebCore -- 1.8.3.1