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/generators/idl_gen_wrapper.py

Issue 126343002: Make some of the pnacl_irt_shim data members local. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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 | « no previous file | ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/idl_gen_wrapper.py
diff --git a/ppapi/generators/idl_gen_wrapper.py b/ppapi/generators/idl_gen_wrapper.py
index bbcfd71faebcbcc7812134ef1043b6cbfac71ebd..1c098a0661f235f26ebe62463aa34282439bd7e5 100644
--- a/ppapi/generators/idl_gen_wrapper.py
+++ b/ppapi/generators/idl_gen_wrapper.py
@@ -324,9 +324,9 @@ const void *__%(wrapper_prefix)s_PPPGetInterface(const char *name) {
iface.struct_name)
continue
- out.Write('struct %s %s_Wrappers_%s = {\n' % (iface.struct_name,
- self.wrapper_prefix,
- iface.struct_name))
+ out.Write('static struct %s %s_Wrappers_%s = {\n' % (iface.struct_name,
+ self.wrapper_prefix,
+ iface.struct_name))
methods = []
for member in iface.node.GetListOf('Member'):
# Skip the method if it's not actually in the release.
« no previous file with comments | « no previous file | ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698