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

Unified Diff: third_party/WebKit/Source/bindings/scripts/code_generator_v8.py

Issue 2383613003: Remove 'V8' prefix from generated callback function classes (Closed)
Patch Set: rebase Created 4 years, 2 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
Index: third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
diff --git a/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py b/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
index 409c7b6d2c51bc9e9e9c0543b48e3703370cb99a..fa778f4b9b018dd7fd2c391aab0510eb3ee8ac0e 100644
--- a/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
+++ b/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
@@ -356,8 +356,8 @@ class CodeGeneratorCallbackFunction(CodeGeneratorBase):
template_context['code_generator'] = MODULE_PYNAME
header_text = header_template.render(template_context)
cpp_text = cpp_template.render(template_context)
- header_path = posixpath.join(self.output_dir, 'V8%s.h' % callback_function.name)
- cpp_path = posixpath.join(self.output_dir, 'V8%s.cpp' % callback_function.name)
+ header_path = posixpath.join(self.output_dir, '%s.h' % callback_function.name)
+ cpp_path = posixpath.join(self.output_dir, '%s.cpp' % callback_function.name)
return (
(header_path, header_text),
(cpp_path, cpp_text),

Powered by Google App Engine
This is Rietveld 408576698