summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppb_video_layer_impl.cc
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 18:29:53 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 18:29:53 +0000
commitff31667e93c2f61ff9f7d7b1ea9ddb0c6686505b (patch)
tree37fbc8944a97b2f83339d8c3131de847380ad916 /webkit/plugins/ppapi/ppb_video_layer_impl.cc
parent1a460efd58f981870b3a2ffd89466722f30bc170 (diff)
downloadchromium_src-ff31667e93c2f61ff9f7d7b1ea9ddb0c6686505b.zip
chromium_src-ff31667e93c2f61ff9f7d7b1ea9ddb0c6686505b.tar.gz
chromium_src-ff31667e93c2f61ff9f7d7b1ea9ddb0c6686505b.tar.bz2
Build fix to make ARM builders happy
Please tell me why ARM wants 0 but not NULL. TBR=dmac BUG=None TEST=None Review URL: http://codereview.chromium.org/6883268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83554 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppb_video_layer_impl.cc')
-rw-r--r--webkit/plugins/ppapi/ppb_video_layer_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/ppb_video_layer_impl.cc b/webkit/plugins/ppapi/ppb_video_layer_impl.cc
index f91b16a..95b192a 100644
--- a/webkit/plugins/ppapi/ppb_video_layer_impl.cc
+++ b/webkit/plugins/ppapi/ppb_video_layer_impl.cc
@@ -16,10 +16,10 @@ namespace {
PP_Resource Create(PP_Instance instance_id, PP_VideoLayerMode_Dev mode) {
PluginInstance* instance = ResourceTracker::Get()->GetInstance(instance_id);
if (!instance)
- return NULL;
+ return 0;
if (mode != PP_VIDEOLAYERMODE_SOFTWARE)
- return NULL;
+ return 0;
scoped_refptr<PPB_VideoLayer_Impl> layer(
new PPB_VideoLayer_Software(instance));