зеркало из https://github.com/mozilla/gecko-dev.git
Bug 969898: Make gfx/heap-textures memory reporter support 64-bit numbers on 64-bit platforms. r=njn
This commit is contained in:
Родитель
7c2a85aea0
Коммит
94fb2cfc99
|
@ -30,7 +30,7 @@ namespace layers {
|
||||||
|
|
||||||
NS_IMPL_ISUPPORTS1(GfxMemoryImageReporter, nsIMemoryReporter)
|
NS_IMPL_ISUPPORTS1(GfxMemoryImageReporter, nsIMemoryReporter)
|
||||||
|
|
||||||
mozilla::Atomic<int32_t> GfxMemoryImageReporter::sAmount(0);
|
mozilla::Atomic<size_t> GfxMemoryImageReporter::sAmount(0);
|
||||||
|
|
||||||
mozilla::ipc::SharedMemory::SharedMemoryType OptimalShmemType()
|
mozilla::ipc::SharedMemory::SharedMemoryType OptimalShmemType()
|
||||||
{
|
{
|
||||||
|
|
|
@ -183,7 +183,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static mozilla::Atomic<int32_t> sAmount;
|
static mozilla::Atomic<size_t> sAmount;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
Загрузка…
Ссылка в новой задаче