| Index: components/nacl/renderer/ppb_nacl_private_impl.cc
|
| diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| index 44af080991f80e15921c36f8a64b94ae23d69183..a8cea303ba3058fb69a571b021b5fdc80e6b762b 100644
|
| --- a/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| +++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| @@ -1162,25 +1162,6 @@ PP_Var GetCpuFeatureAttrs() {
|
| return ppapi::StringVar::StringToPPVar(GetCpuFeatures());
|
| }
|
|
|
| -void PostMessageToJavaScriptMainThread(PP_Instance instance,
|
| - const std::string& message) {
|
| - content::PepperPluginInstance* plugin_instance =
|
| - content::PepperPluginInstance::Get(instance);
|
| - if (plugin_instance) {
|
| - PP_Var message_var = ppapi::StringVar::StringToPPVar(message);
|
| - plugin_instance->PostMessageToJavaScript(message_var);
|
| - ppapi::PpapiGlobals::Get()->GetVarTracker()->ReleaseVar(message_var);
|
| - }
|
| -}
|
| -
|
| -void PostMessageToJavaScript(PP_Instance instance, const char* message) {
|
| - ppapi::PpapiGlobals::Get()->GetMainThreadMessageLoop()->PostTask(
|
| - FROM_HERE,
|
| - base::Bind(&PostMessageToJavaScriptMainThread,
|
| - instance,
|
| - std::string(message)));
|
| -}
|
| -
|
| // Encapsulates some of the state for a call to DownloadNexe to prevent
|
| // argument lists from getting too long.
|
| struct DownloadNexeRequest {
|
| @@ -1701,7 +1682,6 @@ const PPB_NaCl_Private nacl_interface = {
|
| &ManifestGetProgramURL,
|
| &GetPNaClResourceInfo,
|
| &GetCpuFeatureAttrs,
|
| - &PostMessageToJavaScript,
|
| &DownloadNexe,
|
| &ReportSelLdrStatus,
|
| &LogTranslateTime,
|
|
|