Bug 784895 - Remove unnecessary token pasting. r=mrbkap.
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Thu, 23 Aug 2012 19:57:51 -0400
changeset 105290 346289a882b84ac4ae871e24aeb06b11241d31da
parent 105289 90e517924f06a56e4bcea68cc01c38228dfc639a
child 105291 af4b272232b9e3aea0710490250b85ac8cc85036
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewersmrbkap
bugs784895
milestone17.0a1
Bug 784895 - Remove unnecessary token pasting. r=mrbkap.
dom/workers/RuntimeService.cpp
--- a/dom/workers/RuntimeService.cpp
+++ b/dom/workers/RuntimeService.cpp
@@ -94,17 +94,17 @@ MOZ_STATIC_ASSERT(MAX_WORKERS_PER_DOMAIN
       MutexAutoLock lock(mMutex);                                              \
                                                                                \
       mDomainMap.EnumerateRead(AddAllTopLevelWorkersToArray, &workers);        \
     }                                                                          \
                                                                                \
     if (!workers.IsEmpty()) {                                                  \
       AutoSafeJSContext cx;                                                    \
       for (uint32_t index = 0; index < workers.Length(); index++) {            \
-        workers[index]-> _func (cx, ##__VA_ARGS__);                            \
+        workers[index]-> _func (cx, __VA_ARGS__);                              \
       }                                                                        \
     }                                                                          \
   PR_END_MACRO
 
 namespace {
 
 const uint32_t kNoIndex = uint32_t(-1);