| Index: content/renderer/webplugin_delegate_proxy.cc
|
| diff --git a/content/renderer/webplugin_delegate_proxy.cc b/content/renderer/webplugin_delegate_proxy.cc
|
| index c3459ed04c3f05454cfd7ee9550d3dc955525282..7382abf8bbc3449032e82a508fa31037f14bd962 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));
|
|
|