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

Unified Diff: ppapi/cpp/module.cc

Issue 9381010: Convert resources to take an instance key instead of an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH TITLE Created 8 years, 10 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/cpp/module.h ('k') | ppapi/cpp/mouse_lock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/module.cc
diff --git a/ppapi/cpp/module.cc b/ppapi/cpp/module.cc
index fd130ade8a5f7c7edfbe6ce45196838f90ef0276..de92afb624e212f68a5e2aa3d7274c9b8b93f258 100644
--- a/ppapi/cpp/module.cc
+++ b/ppapi/cpp/module.cc
@@ -138,7 +138,7 @@ void Messaging_HandleMessage(PP_Instance pp_instance, PP_Var var) {
Instance* instance = module_singleton->InstanceForPPInstance(pp_instance);
if (!instance)
return;
- instance->HandleMessage(Var(Var::PassRef(), var));
+ instance->HandleMessage(Var(PASS_REF, var));
}
static PPP_Messaging instance_messaging_interface = {
« no previous file with comments | « ppapi/cpp/module.h ('k') | ppapi/cpp/mouse_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698