RTC_EXPORT webrtc::GetScreenRect.

This symbol is required by Chromium's
//remoting/host/touch_injector_win.cc, see error [1].

[1] - https://ci.chromium.org/p/chromium/builders/try/win_chromium_compile_dbg_ng/433408

Bug: webrtc:9419
Change-Id: Ifb9126191d467d6570331770df432385466d0f94
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159038
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29740}
This commit is contained in:
Mirko Bonadei 2019-11-07 23:30:30 +01:00 committed by Commit Bot
parent 7d5fe67b83
commit b61ad3ac22

View File

@ -15,6 +15,7 @@
#include <vector>
#include "modules/desktop_capture/desktop_capturer.h"
#include "rtc_base/system/rtc_export.h"
namespace webrtc {
@ -39,8 +40,8 @@ DesktopRect GetFullscreenRect();
// Get the rect of the screen identified by |screen|, relative to the primary
// display's top-left. If the screen device key does not match |device_key|, or
// the screen does not exist, or any error happens, an empty rect is returned.
DesktopRect GetScreenRect(DesktopCapturer::SourceId screen,
const std::wstring& device_key);
RTC_EXPORT DesktopRect GetScreenRect(DesktopCapturer::SourceId screen,
const std::wstring& device_key);
} // namespace webrtc