Bug 1073081 - Fix an incorrect comparison between enums of different types. r=nical

This commit is contained in:
Botond Ballo
2014-11-24 20:00:40 -05:00
parent 222a27b477
commit e656147c45

View File

@@ -322,7 +322,7 @@ GrallocTextureHostOGL::DeallocateSharedData()
DestroyEGLImage();
if (mGrallocHandle.buffer().type() != SurfaceDescriptor::Tnull_t) {
if (mGrallocHandle.buffer().type() != MaybeMagicGrallocBufferHandle::Tnull_t) {
MaybeMagicGrallocBufferHandle handle = mGrallocHandle.buffer();
base::ProcessId owner;
if (handle.type() == MaybeMagicGrallocBufferHandle::TGrallocBufferRef) {