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

Unified Diff: remoting/host/win/desktop.cc

Issue 11195006: Removing "Failed to open the desktop receiving user input" message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/desktop.cc
diff --git a/remoting/host/win/desktop.cc b/remoting/host/win/desktop.cc
index 073895ad8bb190d9d6791985268c3b34b30fb3c5..e4f9561745e7c4bc2ce9bd10856b8805f1e20c69 100644
--- a/remoting/host/win/desktop.cc
+++ b/remoting/host/win/desktop.cc
@@ -83,11 +83,8 @@ scoped_ptr<Desktop> Desktop::GetDesktop(const wchar_t* desktop_name) {
scoped_ptr<Desktop> Desktop::GetInputDesktop() {
HDESK desktop = OpenInputDesktop(
0, FALSE, GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE);
- if (desktop == NULL) {
- LOG_GETLASTERROR(ERROR)
- << "Failed to open the desktop receiving user input";
+ if (desktop == NULL)
return scoped_ptr<Desktop>();
- }
return scoped_ptr<Desktop>(new Desktop(desktop, true));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698