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

Unified Diff: runtime/bin/process_win.cc

Issue 11639017: Be explicit about use of W version on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_win.cc
diff --git a/runtime/bin/process_win.cc b/runtime/bin/process_win.cc
index 6a400ac6f5009ba72e33e12152dc6bc2934c80ad..a0737175f2230ca3b8e1e8cb976112193958e5ec 100644
--- a/runtime/bin/process_win.cc
+++ b/runtime/bin/process_win.cc
@@ -338,7 +338,7 @@ static DeleteProcThreadAttrListFn delete_proc_thread_attr_list = NULL;
static bool EnsureInitialized() {
static bool load_attempted = false;
static dart::Mutex mutex;
- HMODULE kernel32_module = GetModuleHandle(L"kernel32.dll");
+ HMODULE kernel32_module = GetModuleHandleW(L"kernel32.dll");
if (!load_attempted) {
MutexLocker locker(&mutex);
if (load_attempted) return delete_proc_thread_attr_list != NULL;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698