summaryrefslogtreecommitdiffstats
path: root/gpu/gles2_conform_support
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 08:49:11 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 08:49:11 +0000
commit3f22b6a1690dd5a8122548448c35c6e6df17fff2 (patch)
tree69c8e0abb66375f3decfc6c2699cb9cb587809a4 /gpu/gles2_conform_support
parent9241efe15d167b343bff27cec5689a8b78fca568 (diff)
downloadchromium_src-3f22b6a1690dd5a8122548448c35c6e6df17fff2.zip
chromium_src-3f22b6a1690dd5a8122548448c35c6e6df17fff2.tar.gz
chromium_src-3f22b6a1690dd5a8122548448c35c6e6df17fff2.tar.bz2
clang: Fix two -Wbool-conversion warnings
BUG=none TEST=none Review URL: http://codereview.chromium.org/9700063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gles2_conform_support')
-rw-r--r--gpu/gles2_conform_support/egl/display.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc
index bfbdfef..a5b3f14 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -85,7 +85,7 @@ EGLSurface Display::CreateWindowSurface(EGLConfig config,
scoped_ptr<gpu::CommandBufferService> command_buffer(
new gpu::CommandBufferService);
if (!command_buffer->Initialize())
- return false;
+ return NULL;
gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup(true));
@@ -129,7 +129,7 @@ EGLSurface Display::CreateWindowSurface(EGLConfig config,
scoped_ptr<gpu::gles2::GLES2CmdHelper> cmd_helper(
new gpu::gles2::GLES2CmdHelper(command_buffer.get()));
if (!cmd_helper->Initialize(kCommandBufferSize))
- return false;
+ return NULL;
scoped_ptr<gpu::TransferBuffer> transfer_buffer(new gpu::TransferBuffer(
cmd_helper.get()));