mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1140317: and even more using mozilla::UniquePtr in a CLOSED TREE; r=bustage
--HG-- extra : rebase_source : c4f6f5bf886cdc2cd151efbc396205940af26714
This commit is contained in:
parent
d4a838cbc3
commit
611473a2a2
@ -21,6 +21,8 @@
|
||||
|
||||
using namespace js;
|
||||
|
||||
using mozilla::UniquePtr;
|
||||
|
||||
const Class WeakSetObject::class_ = {
|
||||
"WeakSet",
|
||||
JSCLASS_IMPLEMENTS_BARRIERS | JSCLASS_HAS_CACHED_PROTO(JSProto_WeakSet) |
|
||||
|
@ -55,6 +55,7 @@ using namespace js::gc;
|
||||
using mozilla::DebugOnly;
|
||||
using mozilla::PodArrayZero;
|
||||
using mozilla::PointerRangeSize;
|
||||
using mozilla::UniquePtr;
|
||||
|
||||
bool
|
||||
js::AutoCycleDetector::init()
|
||||
|
@ -26,6 +26,8 @@
|
||||
using namespace js;
|
||||
using namespace js::gc;
|
||||
|
||||
using mozilla::UniquePtr;
|
||||
|
||||
WeakMapBase::WeakMapBase(JSObject *memOf, JSCompartment *c)
|
||||
: memberOf(memOf),
|
||||
compartment(c),
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user