| Index: chrome/plugin/npobject_stub.cc
|
| ===================================================================
|
| --- chrome/plugin/npobject_stub.cc (revision 32119)
|
| +++ chrome/plugin/npobject_stub.cc (working copy)
|
| @@ -81,7 +81,6 @@
|
| IPC_MESSAGE_HANDLER(NPObjectMsg_Enumeration, OnEnumeration);
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(NPObjectMsg_Construct, OnConstruct);
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(NPObjectMsg_Evaluate, OnEvaluate);
|
| - IPC_MESSAGE_HANDLER(NPObjectMsg_SetException, OnSetException);
|
| IPC_MESSAGE_UNHANDLED_ERROR()
|
| IPC_END_MESSAGE_MAP()
|
| }
|
| @@ -372,12 +371,3 @@
|
| NPObjectMsg_Evaluate::WriteReplyParams(reply_msg, result_param, return_value);
|
| local_channel->Send(reply_msg);
|
| }
|
| -
|
| -void NPObjectStub::OnSetException(const std::string& message) {
|
| - if (IsPluginProcess()) {
|
| - NOTREACHED() << "Should only be called on NPObjects in the renderer";
|
| - return;
|
| - }
|
| -
|
| - WebBindings::setException(npobject_, message.c_str());
|
| -}
|
|
|