| Index: webkit/glue/plugins/pepper_plugin_module.cc
|
| diff --git a/webkit/glue/plugins/pepper_plugin_module.cc b/webkit/glue/plugins/pepper_plugin_module.cc
|
| index 4bb5ea11d127804130f09fdd0b5ee06ec210d264..4752156d4c8d0df14eb10fdd4585ddf26ca44dd7 100644
|
| --- a/webkit/glue/plugins/pepper_plugin_module.cc
|
| +++ b/webkit/glue/plugins/pepper_plugin_module.cc
|
| @@ -117,7 +117,7 @@ bool ReadImageData(PP_Resource device_context_2d,
|
| PP_Resource image,
|
| int32_t x, int32_t y) {
|
| scoped_refptr<DeviceContext2D> context(
|
| - ResourceTracker::Get()->GetAsDeviceContext2D(device_context_2d));
|
| + Resource::GetAs<DeviceContext2D>(device_context_2d));
|
| if (!context.get())
|
| return false;
|
| return context->ReadImageData(image, x, y);
|
|
|