| Index: Source/bindings/templates/callback_interface.h
|
| diff --git a/Source/bindings/templates/callback_interface.h b/Source/bindings/templates/callback_interface.h
|
| index 35b1db5c61b2fc0f8e9203acf2df5478835285a1..bf836e793a97434fbab5dc55f4e26a04ae21fa00 100644
|
| --- a/Source/bindings/templates/callback_interface.h
|
| +++ b/Source/bindings/templates/callback_interface.h
|
| @@ -32,8 +32,8 @@
|
| {# FIXME: Rename to Python when switch #}
|
| // This file has been auto-generated by code_generator_v8.pm. DO NOT MODIFY!
|
|
|
| -#ifndef {{v8_class_name}}_h
|
| -#define {{v8_class_name}}_h
|
| +#ifndef {{v8_class}}_h
|
| +#define {{v8_class}}_h
|
|
|
| {% filter conditional(conditional_string) %}
|
| {% for filename in header_includes %}
|
| @@ -44,18 +44,18 @@ namespace WebCore {
|
|
|
| class ExecutionContext;
|
|
|
| -class {{v8_class_name}} : public {{cpp_class_name}}, public ActiveDOMCallback {
|
| +class {{v8_class}} : public {{cpp_class}}, public ActiveDOMCallback {
|
| public:
|
| {% set ptr_type = 'PassRefPtr' if ref_counted else 'PassOwnPtr' %}
|
| {% set adopt_type = 'adoptRef' if ref_counted else 'adoptPtr' %}
|
| - static {{ptr_type}}<{{v8_class_name}}> create(v8::Handle<v8::Value> jsValue, ExecutionContext* context)
|
| + static {{ptr_type}}<{{v8_class}}> create(v8::Handle<v8::Value> jsValue, ExecutionContext* context)
|
| {
|
| ASSERT(jsValue->IsObject());
|
| ASSERT(context);
|
| - return {{adopt_type}}(new {{v8_class_name}}(v8::Handle<v8::Object>::Cast(jsValue), context));
|
| + return {{adopt_type}}(new {{v8_class}}(v8::Handle<v8::Object>::Cast(jsValue), context));
|
| }
|
|
|
| - virtual ~{{v8_class_name}}();
|
| + virtual ~{{v8_class}}();
|
|
|
| {% for method in methods %}
|
| virtual {{method.return_cpp_type}} {{method.name}}({{method.argument_declarations | join(', ')}});
|
| @@ -64,7 +64,7 @@ public:
|
| virtual ExecutionContext* executionContext() const { return ContextLifecycleObserver::executionContext(); }
|
|
|
| private:
|
| - {{v8_class_name}}(v8::Handle<v8::Object>, ExecutionContext*);
|
| + {{v8_class}}(v8::Handle<v8::Object>, ExecutionContext*);
|
|
|
| ScopedPersistent<v8::Object> m_callback;
|
| RefPtr<DOMWrapperWorld> m_world;
|
| @@ -72,4 +72,4 @@ private:
|
|
|
| }
|
| {% endfilter %}
|
| -#endif // {{v8_class_name}}_h
|
| +#endif // {{v8_class}}_h
|
|
|