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

Unified Diff: ppapi/proxy/ppb_font_proxy.cc

Issue 7887001: s patch tries to remove most of the manual registration for Pepper interfaces, and replaces it wi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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/ppb_font_proxy.h ('k') | ppapi/proxy/ppb_graphics_2d_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_font_proxy.cc
===================================================================
--- ppapi/proxy/ppb_font_proxy.cc (revision 100854)
+++ ppapi/proxy/ppb_font_proxy.cc (working copy)
@@ -40,33 +40,15 @@
return true;
}
-InterfaceProxy* CreateFontProxy(Dispatcher* dispatcher,
- const void* target_interface) {
- return new PPB_Font_Proxy(dispatcher, target_interface);
-}
-
} // namespace
-PPB_Font_Proxy::PPB_Font_Proxy(Dispatcher* dispatcher,
- const void* target_interface)
- : InterfaceProxy(dispatcher, target_interface) {
+PPB_Font_Proxy::PPB_Font_Proxy(Dispatcher* dispatcher)
+ : InterfaceProxy(dispatcher) {
}
PPB_Font_Proxy::~PPB_Font_Proxy() {
}
-// static
-const InterfaceProxy::Info* PPB_Font_Proxy::GetInfo() {
- static const Info info = {
- thunk::GetPPB_Font_Thunk(),
- PPB_FONT_DEV_INTERFACE,
- INTERFACE_ID_PPB_FONT,
- false,
- &CreateFontProxy,
- };
- return &info;
-}
-
PPB_Font_FunctionAPI* PPB_Font_Proxy::AsPPB_Font_FunctionAPI() {
return this;
}
« no previous file with comments | « ppapi/proxy/ppb_font_proxy.h ('k') | ppapi/proxy/ppb_graphics_2d_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698