Chromium Code Reviews| Index: remoting/host/continue_window_win.cc |
| diff --git a/remoting/host/continue_window_win.cc b/remoting/host/continue_window_win.cc |
| index c62289b5a2fe3e3e553a6dfba1d98953448000c7..8e81439e8e1406175812a648415c8971804d3679 100644 |
| --- a/remoting/host/continue_window_win.cc |
| +++ b/remoting/host/continue_window_win.cc |
| @@ -10,9 +10,7 @@ |
| #include "base/logging.h" |
| #include "base/utf_string_conversions.h" |
| #include "remoting/host/chromoting_host.h" |
| -// TODO(wez): The DisconnectWindow isn't plugin-specific, so shouldn't have |
| -// a dependency on the plugin's resource header. |
| -#include "remoting/host/plugin/host_plugin_resource.h" |
| +#include "remoting/host/host_ui_resource.h" |
| // TODO(garykac): Lots of duplicated code in this file and |
| // disconnect_window_win.cc. These global floating windows are temporary so |
| @@ -127,7 +125,7 @@ void ContinueWindowWin::Hide() { |
| void ContinueWindowWin::EndDialog() { |
| if (hwnd_) { |
| - ::EndDialog(hwnd_, 0); |
| + ::DestroyWindow(hwnd_); |
|
Jamie
2012/05/11 19:51:39
What's the effect of this change?
alexeypa (please no reviews)
2012/05/11 20:01:21
EndDialog() does not have effect on non-modal dial
|
| hwnd_ = NULL; |
| } |
| } |