Remove deprecated CroppingWindowCapturer::Create

BUG=webrtc:6513

Review-Url: https://codereview.webrtc.org/2513103003
Cr-Commit-Position: refs/heads/master@{#15173}
This commit is contained in:
zijiehe
2016-11-21 13:54:26 -08:00
committed by Commit bot
parent 28747969cd
commit 1b0e3aa440
3 changed files with 2 additions and 14 deletions

View File

@ -101,12 +101,8 @@ void CroppingWindowCapturer::OnCaptureResult(
}
#if !defined(WEBRTC_WIN)
// static
DesktopCapturer* CroppingWindowCapturer::Create(
const DesktopCaptureOptions& options) {
return DesktopCapturer::CreateWindowCapturer(options).release();
}
// CroppingWindowCapturer is implemented only for windows. On other platforms
// the regular window capturer is used.
// static
std::unique_ptr<DesktopCapturer> CroppingWindowCapturer::CreateCapturer(
const DesktopCaptureOptions& options) {

View File

@ -24,8 +24,6 @@ namespace webrtc {
class CroppingWindowCapturer : public DesktopCapturer,
public DesktopCapturer::Callback {
public:
// Deprecated, use CreateCapturer()
static DesktopCapturer* Create(const DesktopCaptureOptions& options);
static std::unique_ptr<DesktopCapturer> CreateCapturer(
const DesktopCaptureOptions& options);

View File

@ -209,12 +209,6 @@ DesktopRect CroppingWindowCapturerWin::GetWindowRectInVirtualScreen() {
} // namespace
// static
DesktopCapturer* CroppingWindowCapturer::Create(
const DesktopCaptureOptions& options) {
return new CroppingWindowCapturerWin(options);
}
// static
std::unique_ptr<DesktopCapturer> CroppingWindowCapturer::CreateCapturer(
const DesktopCaptureOptions& options) {