Commit 843ccb24 authored by darin@chromium.org's avatar darin@chromium.org

Fix ARM build bustage.

TBR=vrk@chromium.org
Review URL: http://codereview.chromium.org/7541061

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95729 0039d316-1c4b-4281-b951-d872f2087c98
parent 25e0e8c9
......@@ -50,11 +50,11 @@ PP_Resource PPB_VideoDecoder_Impl::Create(PluginInstance* instance,
PP_Resource context3d_id,
const PP_VideoConfigElement* config) {
if (!context3d_id)
return NULL;
return 0;
EnterResourceNoLock<PPB_Context3D_API> enter_context(context3d_id, true);
if (enter_context.failed())
return NULL;
return 0;
scoped_refptr<PPB_VideoDecoder_Impl> decoder(
new PPB_VideoDecoder_Impl(instance));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment