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(); |
} |