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

Unified Diff: ppapi/proxy/ppp_class_proxy.cc

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch Created 9 years, 3 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/ppp_class_proxy.h ('k') | ppapi/proxy/ppp_graphics_3d_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_class_proxy.cc
diff --git a/ppapi/proxy/ppp_class_proxy.cc b/ppapi/proxy/ppp_class_proxy.cc
index 8ab109f38b212a39504dd2976413b2bc12323097..9a616f42870930e13a0aebc54305bb8491c28d9e 100644
--- a/ppapi/proxy/ppp_class_proxy.cc
+++ b/ppapi/proxy/ppp_class_proxy.cc
@@ -175,13 +175,18 @@ void* ToUserData(int64 value) {
// PPP_Class_Proxy -------------------------------------------------------------
PPP_Class_Proxy::PPP_Class_Proxy(Dispatcher* dispatcher)
- : InterfaceProxy(dispatcher, NULL) {
+ : InterfaceProxy(dispatcher) {
}
PPP_Class_Proxy::~PPP_Class_Proxy() {
}
// static
+InterfaceProxy* PPP_Class_Proxy::Create(Dispatcher* dispatcher) {
+ return new PPP_Class_Proxy(dispatcher);
+}
+
+// static
PP_Var PPP_Class_Proxy::CreateProxiedObject(const PPB_Var_Deprecated* var,
Dispatcher* dispatcher,
PP_Module module_id,
« no previous file with comments | « ppapi/proxy/ppp_class_proxy.h ('k') | ppapi/proxy/ppp_graphics_3d_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698