Index: ui/gl/gl_image_ozone_native_pixmap_unittest.cc |
diff --git a/ui/gl/gl_image_ozone_native_pixmap_unittest.cc b/ui/gl/gl_image_ozone_native_pixmap_unittest.cc |
index 223ba6980265d186830c794424e9700dbfece1f5..1e5ef1325f03c42c0d02258295f13c21188a44bd 100644 |
--- a/ui/gl/gl_image_ozone_native_pixmap_unittest.cc |
+++ b/ui/gl/gl_image_ozone_native_pixmap_unittest.cc |
@@ -25,7 +25,7 @@ class GLImageOzoneNativePixmapTestDelegate { |
surface_factory->CreateNativePixmap(gfx::kNullAcceleratedWidget, size, |
gfx::BufferFormat::RGBA_8888, |
gfx::BufferUsage::SCANOUT); |
- EXPECT_TRUE(pixmap != nullptr); |
+ EXPECT_TRUE(pixmap); |
scoped_refptr<gfx::GLImageOzoneNativePixmap> image( |
new gfx::GLImageOzoneNativePixmap(size, GL_RGBA)); |
EXPECT_TRUE(image->Initialize(pixmap.get(), pixmap->GetBufferFormat())); |