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

Unified Diff: remoting/host/resizing_host_observer_unittest.cc

Issue 13983010: Use webrtc::DesktopCapturer for screen capturer implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months 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 | « remoting/host/resizing_host_observer.cc ('k') | remoting/host/screen_resolution.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/resizing_host_observer_unittest.cc
diff --git a/remoting/host/resizing_host_observer_unittest.cc b/remoting/host/resizing_host_observer_unittest.cc
index cc4019aa89649e0634149f8410be5e20579ef49a..2d61e5e4e8dd312d0f1508e028d303c2bf2cc31e 100644
--- a/remoting/host/resizing_host_observer_unittest.cc
+++ b/remoting/host/resizing_host_observer_unittest.cc
@@ -11,6 +11,7 @@
#include "remoting/host/screen_resolution.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkSize.h"
+#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
std::ostream& operator<<(std::ostream& os, const SkISize& size) {
return os << size.width() << "x" << size.height();
@@ -83,7 +84,8 @@ class ResizingHostObserverTest : public testing::Test {
SkISize GetBestSize(const SkISize& client_size) {
resizing_host_observer_->SetScreenResolution(ScreenResolution(
- client_size, SkIPoint::Make(kDefaultDPI, kDefaultDPI)));
+ webrtc::DesktopSize(client_size.width(), client_size.height()),
+ webrtc::DesktopVector(kDefaultDPI, kDefaultDPI)));
return desktop_resizer_->GetCurrentSize();
}
« no previous file with comments | « remoting/host/resizing_host_observer.cc ('k') | remoting/host/screen_resolution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698