Chromium Code Reviews| Index: Source/bindings/templates/interface.h |
| diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h |
| index 5eeb90f67d86725dfed778d53324c2348611bf15..8440e13744e8d45d8d47d73fd035bbaf0c59a14c 100644 |
| --- a/Source/bindings/templates/interface.h |
| +++ b/Source/bindings/templates/interface.h |
| @@ -254,7 +254,6 @@ inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, {{cpp_class}} |
| } |
| {% endif %}{# has_custom_to_v8 #} |
| -{% if gc_type != 'GarbageCollectedObject' %} |
|
haraken
2014/04/25 09:47:32
It took me a long time to notice that I need to re
Mads Ager (chromium)
2014/04/28 11:02:31
I think this is OK for now. How much would (b) com
|
| inline v8::Handle<v8::Value> toV8({{pass_cpp_type}} impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
| { |
| return toV8(impl.get(), creationContext, isolate); |
| @@ -277,7 +276,6 @@ inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, {{pass_cpp_ty |
| { |
| v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| } |
| -{% endif %}{# if gc_type != 'GarbageCollectedObject' #} |
| {% if has_event_constructor %} |
| bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionState&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); |