diff options
Diffstat (limited to 'chrome/app/chrome_watcher_client_unittest_win.cc')
-rw-r--r-- | chrome/app/chrome_watcher_client_unittest_win.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/app/chrome_watcher_client_unittest_win.cc b/chrome/app/chrome_watcher_client_unittest_win.cc index 9f37123..04db75c 100644 --- a/chrome/app/chrome_watcher_client_unittest_win.cc +++ b/chrome/app/chrome_watcher_client_unittest_win.cc @@ -124,11 +124,11 @@ MULTIPROCESS_TEST_MAIN(ChromeWatcherClientTestProcess) { class ChromeWatcherClientThread : public base::SimpleThread { public: ChromeWatcherClientThread() - : client_(base::Bind(&ChromeWatcherClientThread::GenerateCommandLine, + : SimpleThread("ChromeWatcherClientTest thread"), + client_(base::Bind(&ChromeWatcherClientThread::GenerateCommandLine, base::Unretained(this))), complete_(false, false), - result_(false), - SimpleThread("ChromeWatcherClientTest thread") {} + result_(false) {} // Waits up to |timeout| for the call to EnsureInitialized to complete. If it // does, sets |result| to the return value of EnsureInitialized and returns |