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

Unified Diff: remoting/host/chromoting_host_unittest.cc

Issue 9617027: Chromoting: Implemented security attention sequence (SAS) emulation on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 8 years, 9 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
Index: remoting/host/chromoting_host_unittest.cc
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
index 185be7138170c339981a3a6c9ccb3c2d018e56b8..bfb1d79785b1b70278d3791052c5524ddfdae104 100644
--- a/remoting/host/chromoting_host_unittest.cc
+++ b/remoting/host/chromoting_host_unittest.cc
@@ -90,8 +90,8 @@ class ChromotingHostTest : public testing::Test {
Capturer* capturer = new CapturerFake();
event_executor_ = new MockEventExecutor();
- desktop_environment_.reset(
- new DesktopEnvironment(&context_, capturer, event_executor_));
+ desktop_environment_ = DesktopEnvironment::CreateFake(&context_, capturer,
+ event_executor_);
host_ = new ChromotingHost(
&context_, &signal_strategy_, desktop_environment_.get(),

Powered by Google App Engine
This is Rietveld 408576698