Fix a platform check to use WEBRTC_WIN instead of OS_WIN.
BUG=4006 R=wez@chromium.org Review URL: https://webrtc-codereview.appspot.com/25169004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7691 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
6ca6190be2
commit
90b9b08332
@ -100,7 +100,7 @@ void CroppingWindowCapturer::OnCaptureCompleted(DesktopFrame* frame) {
|
|||||||
callback_->OnCaptureCompleted(window_frame.release());
|
callback_->OnCaptureCompleted(window_frame.release());
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(OS_WIN)
|
#if !defined(WEBRTC_WIN)
|
||||||
// static
|
// static
|
||||||
WindowCapturer*
|
WindowCapturer*
|
||||||
CroppingWindowCapturer::Create(const DesktopCaptureOptions& options) {
|
CroppingWindowCapturer::Create(const DesktopCaptureOptions& options) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user