Bug 1140317: and even more using mozilla::UniquePtr in a CLOSED TREE; r=bustage

--HG--
extra : rebase_source : c4f6f5bf886cdc2cd151efbc396205940af26714
This commit is contained in:
Benjamin Bouvier 2015-03-11 17:47:45 +01:00
parent d4a838cbc3
commit 611473a2a2
4 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,8 @@
using namespace js;
using mozilla::UniquePtr;
const Class WeakSetObject::class_ = {
"WeakSet",
JSCLASS_IMPLEMENTS_BARRIERS | JSCLASS_HAS_CACHED_PROTO(JSProto_WeakSet) |

View File

@ -55,6 +55,7 @@ using namespace js::gc;
using mozilla::DebugOnly;
using mozilla::PodArrayZero;
using mozilla::PointerRangeSize;
using mozilla::UniquePtr;
bool
js::AutoCycleDetector::init()

View File

@ -26,6 +26,8 @@
using namespace js;
using namespace js::gc;
using mozilla::UniquePtr;
WeakMapBase::WeakMapBase(JSObject *memOf, JSCompartment *c)
: memberOf(memOf),
compartment(c),

View File

@ -11,6 +11,8 @@
using namespace js;
using JS::PerfMeasurement;
using mozilla::UniquePtr;
// You cannot forward-declare a static object in C++, so instead
// we have to forward-declare the helper function that refers to it.
static PerfMeasurement* GetPM(JSContext* cx, JS::HandleValue value, const char* fname);