diff options
Diffstat (limited to 'webkit/glue/plugins/pepper_video_decoder.cc')
-rw-r--r-- | webkit/glue/plugins/pepper_video_decoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/plugins/pepper_video_decoder.cc b/webkit/glue/plugins/pepper_video_decoder.cc index ed572b3..3ca0ab2 100644 --- a/webkit/glue/plugins/pepper_video_decoder.cc +++ b/webkit/glue/plugins/pepper_video_decoder.cc @@ -22,7 +22,7 @@ bool GetConfig(PP_Instance instance_id, PP_VideoConfig_Dev* configs, int32_t config_size, int32_t *num_config) { - PluginInstance* instance = PluginInstance::FromPPInstance(instance_id); + PluginInstance* instance = ResourceTracker::Get()->GetInstance(instance_id); *num_config = 0; if (!instance) return false; @@ -40,7 +40,7 @@ bool GetConfig(PP_Instance instance_id, PP_Resource Create(PP_Instance instance_id, const PP_VideoDecoderConfig_Dev* decoder_config) { - PluginInstance* instance = PluginInstance::FromPPInstance(instance_id); + PluginInstance* instance = ResourceTracker::Get()->GetInstance(instance_id); if (!instance) return 0; |