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

Unified Diff: remoting/host/elevated_controller_win.cc

Issue 10266024: Make the PIN confirmation dialog an ATL-based one and brushing it up a little bit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/elevated_controller_win.cc
diff --git a/remoting/host/elevated_controller_win.cc b/remoting/host/elevated_controller_win.cc
index 4e7c9f58ee5956cf0de8668610bb9136dee5b478..4ad01f9adcc89506258ae73d36e2a82aabd3c05f 100644
--- a/remoting/host/elevated_controller_win.cc
+++ b/remoting/host/elevated_controller_win.cc
@@ -195,7 +195,7 @@ HRESULT WriteConfig(const char* content, size_t length) {
// Ask the user to verify the configuration.
remoting::VerifyConfigWindowWin verify_win(email, host_id, host_secret_hash);
- if (!verify_win.Run()) {
+ if (!verify_win.DoModal() != IDOK) {
return E_FAIL;
}

Powered by Google App Engine
This is Rietveld 408576698