зеркало из https://github.com/mozilla/gecko-dev.git
Merge b2g-inbound to m-c
This commit is contained in:
Коммит
599a40977d
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"revision": "d995823e80fa7f2e67263699bb6e42a6bcde65ea",
|
||||
"revision": "1f7e70f3ad1c7a79dc03410d774e32a07093da3f",
|
||||
"repo_path": "/integration/gaia-central"
|
||||
}
|
||||
|
|
|
@ -135,7 +135,11 @@ ImageContainer::ImageContainer(int flag)
|
|||
if (flag == ENABLE_ASYNC && ImageBridgeChild::IsCreated()) {
|
||||
// the refcount of this ImageClient is 1. we don't use a RefPtr here because the refcount
|
||||
// of this class must be done on the ImageBridge thread.
|
||||
mImageClient = ImageBridgeChild::GetSingleton()->CreateImageClient(BUFFER_IMAGE_BUFFERED).drop();
|
||||
if (gfxPlatform::GetPlatform()->UseDeprecatedTextures()) {
|
||||
mImageClient = ImageBridgeChild::GetSingleton()->CreateImageClient(BUFFER_IMAGE_BUFFERED).drop();
|
||||
} else {
|
||||
mImageClient = ImageBridgeChild::GetSingleton()->CreateImageClient(BUFFER_IMAGE_SINGLE).drop();
|
||||
}
|
||||
MOZ_ASSERT(mImageClient);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче