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

Unified Diff: remoting/host/it2me_desktop_environment.cc

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add capabiility_names.h Created 5 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
Index: remoting/host/it2me_desktop_environment.cc
diff --git a/remoting/host/it2me_desktop_environment.cc b/remoting/host/it2me_desktop_environment.cc
index 7bb5507cf41f9a207d124e4aabf2e8071a076f4a..e611bd254c5fb1be590f950ebe0db7a923d509f3 100644
--- a/remoting/host/it2me_desktop_environment.cc
+++ b/remoting/host/it2me_desktop_environment.cc
@@ -85,10 +85,11 @@ scoped_ptr<DesktopEnvironment> It2MeDesktopEnvironmentFactory::Create(
base::WeakPtr<ClientSessionControl> client_session_control) {
DCHECK(caller_task_runner()->BelongsToCurrentThread());
- return make_scoped_ptr(new It2MeDesktopEnvironment(caller_task_runner(),
- input_task_runner(),
- ui_task_runner(),
- client_session_control));
+ scoped_ptr<It2MeDesktopEnvironment> desktop_environment = make_scoped_ptr(
+ new It2MeDesktopEnvironment(caller_task_runner(), input_task_runner(),
+ ui_task_runner(), client_session_control));
+
+ return desktop_environment.Pass();
Wez 2015/05/21 00:59:14 Did you mean to make this change? It doesn't seem
Rintaro Kuroiwa 2015/05/21 21:53:30 I haven't rebased so I must have made this change.
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698