| Index: content/renderer/webplugin_delegate_proxy.cc
|
| diff --git a/content/renderer/webplugin_delegate_proxy.cc b/content/renderer/webplugin_delegate_proxy.cc
|
| index bc498033cc998d1128021cf6eff71ca7dd377e6d..6663239ff6e81b0579daec6a740f794dc18538d5 100644
|
| --- a/content/renderer/webplugin_delegate_proxy.cc
|
| +++ b/content/renderer/webplugin_delegate_proxy.cc
|
| @@ -212,6 +212,7 @@ WebPluginDelegateProxy::WebPluginDelegateProxy(
|
| mime_type_(mime_type),
|
| instance_id_(MSG_ROUTING_NONE),
|
| npobject_(NULL),
|
| + npp_(new NPP_t),
|
| sad_plugin_(NULL),
|
| invalidate_pending_(false),
|
| transparent_(false),
|
| @@ -743,6 +744,11 @@ NPObject* WebPluginDelegateProxy::GetPluginScriptableObject() {
|
| return WebBindings::retainObject(npobject_);
|
| }
|
|
|
| +NPP WebPluginDelegateProxy::GetPluginNPP() {
|
| + // Return a dummy NPP for WebKit to use to identify this plugin.
|
| + return npp_.get();
|
| +}
|
| +
|
| bool WebPluginDelegateProxy::GetFormValue(string16* value) {
|
| bool success = false;
|
| Send(new PluginMsg_GetFormValue(instance_id_, value, &success));
|
|
|