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

Unified Diff: chrome/app/chrome_watcher_client_unittest_win.cc

Issue 1422773008: Fixing remaining VC++ 2015 64-bit build breaks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unneeded include Created 5 years 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
« no previous file with comments | « build/common.gypi ('k') | chrome/app/chrome_watcher_command_line_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_watcher_client_unittest_win.cc
diff --git a/chrome/app/chrome_watcher_client_unittest_win.cc b/chrome/app/chrome_watcher_client_unittest_win.cc
index e3549e990150687b77da4367bae7777dfc646f72..e62e24a0d4b3193cbcb8ffd123f5081c8d9998e5 100644
--- a/chrome/app/chrome_watcher_client_unittest_win.cc
+++ b/chrome/app/chrome_watcher_client_unittest_win.cc
@@ -20,6 +20,7 @@
#include "base/threading/simple_thread.h"
#include "base/time/time.h"
#include "base/win/scoped_handle.h"
+#include "base/win/win_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/multiprocess_func_list.h"
@@ -170,12 +171,12 @@ class ChromeWatcherClientThread : public base::SimpleThread {
base::CommandLine ret = base::GetMultiProcessTestChildBaseCommandLine();
ret.AppendSwitchASCII(switches::kTestChildProcess,
"ChromeWatcherClientTestProcess");
- ret.AppendSwitchASCII(kEventHandle,
- base::UintToString(reinterpret_cast<unsigned int>(
- on_initialized_event)));
+ ret.AppendSwitchASCII(
+ kEventHandle,
+ base::UintToString(base::win::HandleToUint32(on_initialized_event)));
ret.AppendSwitchASCII(
kParentHandle,
- base::UintToString(reinterpret_cast<unsigned int>(parent_handle)));
+ base::UintToString(base::win::HandleToUint32(parent_handle)));
// Our child does not actually need the main thread ID, but we verify here
// that the correct ID is being passed from the client.
« no previous file with comments | « build/common.gypi ('k') | chrome/app/chrome_watcher_command_line_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698