summaryrefslogtreecommitdiffstats
path: root/remoting/host/win/rdp_client_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/win/rdp_client_unittest.cc')
-rw-r--r--remoting/host/win/rdp_client_unittest.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/remoting/host/win/rdp_client_unittest.cc b/remoting/host/win/rdp_client_unittest.cc
index 38f59cd..f906829 100644
--- a/remoting/host/win/rdp_client_unittest.cc
+++ b/remoting/host/win/rdp_client_unittest.cc
@@ -25,6 +25,10 @@ namespace remoting {
namespace {
+// Default width and hight of the RDP client window.
+const long kDefaultWidth = 1024;
+const long kDefaultHeight = 768;
+
class MockRdpClientEventHandler : public RdpClient::EventHandler {
public:
MockRdpClientEventHandler() {}
@@ -134,7 +138,8 @@ TEST_F(RdpClientTest, Basic) {
.WillOnce(InvokeWithoutArgs(this, &RdpClientTest::CloseRdpClient));
rdp_client_.reset(new RdpClient(task_runner_, task_runner_,
- &event_handler_));
+ SkISize::Make(kDefaultWidth, kDefaultHeight),
+ &event_handler_));
task_runner_ = NULL;
run_loop_.Run();