Index: webkit/glue/plugins/pepper_device_context_2d.cc |
=================================================================== |
--- webkit/glue/plugins/pepper_device_context_2d.cc (revision 47552) |
+++ webkit/glue/plugins/pepper_device_context_2d.cc (working copy) |
@@ -61,11 +61,11 @@ |
bool is_always_opaque) { |
PluginModule* module = PluginModule::FromPPModule(module_id); |
if (!module) |
- return NullPPResource(); |
+ return NULL; |
scoped_refptr<DeviceContext2D> context(new DeviceContext2D(module)); |
if (!context->Init(width, height, is_always_opaque)) |
- return NullPPResource(); |
+ return NULL; |
context->AddRef(); // AddRef for the caller. |
return context->GetResource(); |
} |