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