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

Unified Diff: Source/bindings/templates/methods.cpp

Issue 726553002: bindings: Retires [Custom=Wrap]. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | « Source/bindings/templates/interface.h ('k') | Source/bindings/tests/idls/core/TestInterface2.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/methods.cpp
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
index 9f95858d9ce0fae33e9a2c9473736e7e1271a92a..16e3a5f9cffd7d428d1d2d8f8befefda8b46a6c7 100644
--- a/Source/bindings/templates/methods.cpp
+++ b/Source/bindings/templates/methods.cpp
@@ -569,9 +569,6 @@ static void {{name}}(const v8::FunctionCallbackInfo<v8::Value>& info)
{##############################################################################}
{% macro generate_constructor_wrapper(constructor) %}
-{% if has_custom_wrap %}
-v8::Handle<v8::Object> wrapper = wrapCustom(impl.get(), info.Holder(), info.GetIsolate());
-{% else %}
{% set constructor_class = v8_class + ('Constructor'
if constructor.is_named_constructor else
'') %}
@@ -581,7 +578,6 @@ impl->associateWithWrapper(&{{constructor_class}}::wrapperTypeInfo, wrapper, inf
{% else %}
V8DOMWrapper::associateObjectWithWrapper(info.GetIsolate(), impl.get(), &{{constructor_class}}::wrapperTypeInfo, wrapper);
{% endif %}
-{% endif %}
v8SetReturnValue(info, wrapper);
{% endmacro %}
« no previous file with comments | « Source/bindings/templates/interface.h ('k') | Source/bindings/tests/idls/core/TestInterface2.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698