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

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

Issue 483163003: Introduce ES6 iterator for DOM objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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: Source/bindings/templates/methods.cpp
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
index e33041bb0a4df4aa0bb441c9ceda7aa41767648e..d1bf3f47133a3e68937078e3726d4174736d5ac5 100644
--- a/Source/bindings/templates/methods.cpp
+++ b/Source/bindings/templates/methods.cpp
@@ -437,7 +437,7 @@ static void {{overloads.name}}Method{{world_suffix}}(const v8::FunctionCallbackI
{##############################################################################}
-{% macro method_callback(method, world_suffix) %}
+{% macro method_callback(method, world_suffix, internal_namespace='') %}
{% filter conditional(method.conditional_string) %}
static void {{method.name}}MethodCallback{{world_suffix}}(const v8::FunctionCallbackInfo<v8::Value>& info)
{
@@ -465,7 +465,7 @@ static void {{method.name}}MethodCallback{{world_suffix}}(const v8::FunctionCall
{% if method.is_custom %}
{{v8_class}}::{{method.name}}MethodCustom(info);
{% else %}
- {{cpp_class}}V8Internal::{{method.name}}Method{{world_suffix}}(info);
+ {{cpp_class}}V8Internal{{internal_namespace}}::{{method.name}}Method{{world_suffix}}(info);
{% endif %}
TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}

Powered by Google App Engine
This is Rietveld 408576698