Bustage fix for bug 1059479, CLOSED TREE
authorJosh Aas <joshmoz@gmail.com>
Tue, 02 Sep 2014 15:48:07 -0500
changeset 203269 a8f2b6d4fa2cfff3cca1e20380977665a5abe71e
parent 203268 73cd32cd0a0a2a70aa03f73266185f374e65e331
child 203270 913c2178085a4905387f229967d40d71c103a112
push id27425
push userryanvm@gmail.com
push dateWed, 03 Sep 2014 20:38:59 +0000
treeherdermozilla-central@acbdce59da2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1059479
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bustage fix for bug 1059479, CLOSED TREE
ipc/chromium/src/base/tracked_objects.cc
--- a/ipc/chromium/src/base/tracked_objects.cc
+++ b/ipc/chromium/src/base/tracked_objects.cc
@@ -184,17 +184,17 @@ void ThreadData::RunOnAllThreads(void (*
   for (ThreadData* it = list; it; it = it->next()) {
     if (current() != it && it->message_loop())
       message_loops.push_back(it->message_loop());
   }
 
   ThreadSafeDownCounter* counter =
     new ThreadSafeDownCounter(message_loops.size() + 1);  // Extra one for us!
 
-  HANDLE completion_handle = CreateEvent(NULL, false, false, NULL);
+  HANDLE completion_handle = CreateEventW(NULL, false, false, NULL);
   // Tell all other threads to run.
   for (size_t i = 0; i < message_loops.size(); ++i)
     message_loops[i]->PostTask(FROM_HERE,
         new RunTheStatic(function, completion_handle, counter));
 
   // Also run Task on our thread.
   RunTheStatic local_task(function, completion_handle, counter);
   local_task.Run();