Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8827)

Unified Diff: chrome/plugin/npobject_proxy.cc

Issue 375005: When a plugin calls NPN_SetException, pass the exception along to every rende... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/plugin/npobject_proxy.h ('k') | chrome/plugin/npobject_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/npobject_proxy.cc
===================================================================
--- chrome/plugin/npobject_proxy.cc (revision 32119)
+++ chrome/plugin/npobject_proxy.cc (working copy)
@@ -484,18 +484,3 @@
result_param, channel.get(), result_var, containing_window, page_url);
return true;
}
-
-void NPObjectProxy::NPNSetException(NPObject *obj,
- const NPUTF8 *message) {
- NPObjectProxy* proxy = GetProxy(obj);
- if (!proxy) {
- return;
- }
-
- NPVariant_Param result_param;
- std::string message_str(message);
-
- proxy->Send(new NPObjectMsg_SetException(proxy->route_id(), message_str));
- // Send may delete proxy.
- proxy = NULL;
-}
« no previous file with comments | « chrome/plugin/npobject_proxy.h ('k') | chrome/plugin/npobject_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698