diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-07 06:07:14 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-07 06:07:14 +0000 |
commit | 0f4e4350698c282a60b22a6319804a72c16461ac (patch) | |
tree | 91ced63e49e89129695464c83b0c7be0b8820114 /ppapi | |
parent | 7dfde8105d31433d7bb860c1a68c09404298d996 (diff) | |
download | chromium_src-0f4e4350698c282a60b22a6319804a72c16461ac.zip chromium_src-0f4e4350698c282a60b22a6319804a72c16461ac.tar.gz chromium_src-0f4e4350698c282a60b22a6319804a72c16461ac.tar.bz2 |
PPAPI: Change misused PP_Module to PP_Instance
BUG=
TEST=
Review URL: http://codereview.chromium.org/9565027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/proxy/ppp_class_proxy.cc | 4 | ||||
-rw-r--r-- | ppapi/proxy/ppp_class_proxy.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ppapi/proxy/ppp_class_proxy.cc b/ppapi/proxy/ppp_class_proxy.cc index 91f44cb..0d3f86a 100644 --- a/ppapi/proxy/ppp_class_proxy.cc +++ b/ppapi/proxy/ppp_class_proxy.cc @@ -190,12 +190,12 @@ InterfaceProxy* PPP_Class_Proxy::Create(Dispatcher* dispatcher) { // static PP_Var PPP_Class_Proxy::CreateProxiedObject(const PPB_Var_Deprecated* var, Dispatcher* dispatcher, - PP_Module module_id, + PP_Instance instance_id, int64 ppp_class, int64 class_data) { ObjectProxy* object_proxy = new ObjectProxy(dispatcher, ppp_class, class_data); - return var->CreateObject(module_id, &class_interface, object_proxy); + return var->CreateObject(instance_id, &class_interface, object_proxy); } // static diff --git a/ppapi/proxy/ppp_class_proxy.h b/ppapi/proxy/ppp_class_proxy.h index 9f41061..5ad0959 100644 --- a/ppapi/proxy/ppp_class_proxy.h +++ b/ppapi/proxy/ppp_class_proxy.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -8,7 +8,7 @@ #include <vector> #include "base/basictypes.h" -#include "ppapi/c/pp_module.h" +#include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_var.h" #include "ppapi/proxy/interface_proxy.h" @@ -38,7 +38,7 @@ class PPP_Class_Proxy : public InterfaceProxy { // PPB_Var_Deprecated interface to use to create the object. The class and static PP_Var CreateProxiedObject(const PPB_Var_Deprecated* var, Dispatcher* dispatcher, - PP_Module module_id, + PP_Instance instance_id, int64 ppp_class, int64 class_data); |