Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: webrtc/modules/desktop_capture/window_capturer_unittest.cc

Issue 2489943004: Remove references of ScreenCapturer and WindowCapturer (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/desktop_capture/screen_capturer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/desktop_capture/window_capturer_unittest.cc
diff --git a/webrtc/modules/desktop_capture/window_capturer_unittest.cc b/webrtc/modules/desktop_capture/window_capturer_unittest.cc
index e56a1de29fc1968e545528dbe75f080cc7c6ff2f..7742fe4334f2a4dbf83c07c1a0ecba5b7cef36f2 100644
--- a/webrtc/modules/desktop_capture/window_capturer_unittest.cc
+++ b/webrtc/modules/desktop_capture/window_capturer_unittest.cc
@@ -24,8 +24,8 @@ class WindowCapturerTest : public testing::Test,
public DesktopCapturer::Callback {
public:
void SetUp() override {
- capturer_.reset(
- WindowCapturer::Create(DesktopCaptureOptions::CreateDefault()));
+ capturer_ = DesktopCapturer::CreateWindowCapturer(
+ DesktopCaptureOptions::CreateDefault());
}
void TearDown() override {}
@@ -37,7 +37,7 @@ class WindowCapturerTest : public testing::Test,
}
protected:
- std::unique_ptr<WindowCapturer> capturer_;
+ std::unique_ptr<DesktopCapturer> capturer_;
std::unique_ptr<DesktopFrame> frame_;
};
« no previous file with comments | « webrtc/modules/desktop_capture/screen_capturer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698