| Index: chrome/browser/chrome_process_finder_win.cc
|
| diff --git a/chrome/browser/chrome_process_finder_win.cc b/chrome/browser/chrome_process_finder_win.cc
|
| index 34f6761ac0690dd65b63190d97f4b5e84a869eeb..abd6c2bfc271714960aa2e6ea7a372026340d1d5 100644
|
| --- a/chrome/browser/chrome_process_finder_win.cc
|
| +++ b/chrome/browser/chrome_process_finder_win.cc
|
| @@ -16,6 +16,7 @@
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "base/win/message_window.h"
|
| #include "base/win/metro.h"
|
| #include "base/win/scoped_handle.h"
|
| #include "base/win/win_util.h"
|
| @@ -98,8 +99,7 @@ std::string EscapeQueryParamValue(const std::string& text, bool use_plus) {
|
| namespace chrome {
|
|
|
| HWND FindRunningChromeWindow(const base::FilePath& user_data_dir) {
|
| - return FindWindowEx(HWND_MESSAGE, NULL, chrome::kMessageWindowClass,
|
| - user_data_dir.value().c_str());
|
| + return base::win::MessageWindow::FindWindow(user_data_dir.value());
|
| }
|
|
|
| NotifyChromeResult AttemptToNotifyRunningChrome(HWND remote_window,
|
|
|