Bustage fix for bug 1059479, CLOSED TREE
authorJosh Aas <joshmoz@gmail.com>
Tue, 02 Sep 2014 15:48:07 -0500
changeset 244265 a8f2b6d4fa2cfff3cca1e20380977665a5abe71e
parent 244264 73cd32cd0a0a2a70aa03f73266185f374e65e331
child 244266 913c2178085a4905387f229967d40d71c103a112
push id30418
push userjmuizelaar@mozilla.com
push dateTue, 02 Sep 2014 23:57:30 +0000
treeherdertry@2983b61bb70f [default view] [failures only]
bugs1059479
milestone35.0a1
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();