Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index 283db70dfdf12a4c504d6f0e14cc25e73f3ba1cc..7d4670fe3e9b35359e21d7bb2fdcbed727eb74c4 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -1258,6 +1258,10 @@ void PepperPluginInstanceImpl::SetTextInputType(ui::TextInputType type) { |
render_frame_->PepperTextInputTypeChanged(this); |
} |
+void PepperPluginInstanceImpl::PostMessageToJavaScript(PP_Var message) { |
+ message_channel_->PostMessageToJavaScript(message); |
+} |
+ |
base::string16 PepperPluginInstanceImpl::GetSelectedText(bool html) { |
// Keep a reference on the stack. See NOTE above. |
scoped_refptr<PepperPluginInstanceImpl> ref(this); |
@@ -2518,7 +2522,7 @@ void PepperPluginInstanceImpl::ZoomLimitsChanged(PP_Instance instance, |
void PepperPluginInstanceImpl::PostMessage(PP_Instance instance, |
PP_Var message) { |
- message_channel_->PostMessageToJavaScript(message); |
+ PostMessageToJavaScript(message); |
} |
PP_Bool PepperPluginInstanceImpl::SetCursor(PP_Instance instance, |