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

Unified Diff: ppapi/proxy/proxy_object_var.cc

Issue 10542150: Actually free plugin implement vars when running out of process when the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 months 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 | « ppapi/proxy/proxy_object_var.h ('k') | ppapi/shared_impl/test_globals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/proxy_object_var.cc
===================================================================
--- ppapi/proxy/proxy_object_var.cc (revision 141525)
+++ ppapi/proxy/proxy_object_var.cc (working copy)
@@ -14,9 +14,9 @@
ProxyObjectVar::ProxyObjectVar(PluginDispatcher* dispatcher,
int32 host_var_id)
: dispatcher_(dispatcher),
- host_var_id_(host_var_id) {
+ host_var_id_(host_var_id),
+ user_data_(NULL) {
// Should be given valid objects or we'll crash later.
- DCHECK(dispatcher_);
DCHECK(host_var_id_);
}
« no previous file with comments | « ppapi/proxy/proxy_object_var.h ('k') | ppapi/shared_impl/test_globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698