diff options
Diffstat (limited to 'webkit/glue/plugins/pepper_char_set.cc')
-rw-r--r-- | webkit/glue/plugins/pepper_char_set.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/plugins/pepper_char_set.cc b/webkit/glue/plugins/pepper_char_set.cc index 1e5fc0a..043de41 100644 --- a/webkit/glue/plugins/pepper_char_set.cc +++ b/webkit/glue/plugins/pepper_char_set.cc @@ -141,9 +141,9 @@ uint16_t* CharSetToUTF16(const char* input, uint32_t input_len, } PP_Var GetDefaultCharSet(PP_Module pp_module) { - PluginModule* module = PluginModule::FromPPModule(pp_module); + PluginModule* module = ResourceTracker::Get()->GetModule(pp_module); if (!module) - return PP_MakeVoid(); + return PP_MakeUndefined(); std::string encoding = module->GetSomeInstance()->delegate()->GetDefaultEncoding(); |