diff --git a/js/src/shell/jsworkers.cpp b/js/src/shell/jsworkers.cpp index 798be1e241d..7dfd146f35c 100644 --- a/js/src/shell/jsworkers.cpp +++ b/js/src/shell/jsworkers.cpp @@ -40,7 +40,6 @@ #ifdef JS_THREADSAFE -#include #include #include "prthread.h" #include "prlock.h" @@ -117,7 +116,7 @@ class Queue { T pop() { if (front->empty()) { - std::reverse(back->begin(), back->end()); + js::Reverse(back->begin(), back->end()); Vec *tmp = front; front = back; back = tmp;