зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1140317: and even more using mozilla::UniquePtr in a CLOSED TREE; r=bustage
--HG-- extra : rebase_source : c4f6f5bf886cdc2cd151efbc396205940af26714
This commit is contained in:
Родитель
d4a838cbc3
Коммит
611473a2a2
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
using namespace js;
|
using namespace js;
|
||||||
|
|
||||||
|
using mozilla::UniquePtr;
|
||||||
|
|
||||||
const Class WeakSetObject::class_ = {
|
const Class WeakSetObject::class_ = {
|
||||||
"WeakSet",
|
"WeakSet",
|
||||||
JSCLASS_IMPLEMENTS_BARRIERS | JSCLASS_HAS_CACHED_PROTO(JSProto_WeakSet) |
|
JSCLASS_IMPLEMENTS_BARRIERS | JSCLASS_HAS_CACHED_PROTO(JSProto_WeakSet) |
|
||||||
|
|
|
@ -55,6 +55,7 @@ using namespace js::gc;
|
||||||
using mozilla::DebugOnly;
|
using mozilla::DebugOnly;
|
||||||
using mozilla::PodArrayZero;
|
using mozilla::PodArrayZero;
|
||||||
using mozilla::PointerRangeSize;
|
using mozilla::PointerRangeSize;
|
||||||
|
using mozilla::UniquePtr;
|
||||||
|
|
||||||
bool
|
bool
|
||||||
js::AutoCycleDetector::init()
|
js::AutoCycleDetector::init()
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
using namespace js;
|
using namespace js;
|
||||||
using namespace js::gc;
|
using namespace js::gc;
|
||||||
|
|
||||||
|
using mozilla::UniquePtr;
|
||||||
|
|
||||||
WeakMapBase::WeakMapBase(JSObject *memOf, JSCompartment *c)
|
WeakMapBase::WeakMapBase(JSObject *memOf, JSCompartment *c)
|
||||||
: memberOf(memOf),
|
: memberOf(memOf),
|
||||||
compartment(c),
|
compartment(c),
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
using namespace js;
|
using namespace js;
|
||||||
using JS::PerfMeasurement;
|
using JS::PerfMeasurement;
|
||||||
|
|
||||||
|
using mozilla::UniquePtr;
|
||||||
|
|
||||||
// You cannot forward-declare a static object in C++, so instead
|
// You cannot forward-declare a static object in C++, so instead
|
||||||
// we have to forward-declare the helper function that refers to it.
|
// we have to forward-declare the helper function that refers to it.
|
||||||
static PerfMeasurement* GetPM(JSContext* cx, JS::HandleValue value, const char* fname);
|
static PerfMeasurement* GetPM(JSContext* cx, JS::HandleValue value, const char* fname);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче