Index: third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp |
diff --git a/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp b/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp |
index 1d13190eb01f7d8120fb1546fa0c1c7b0a12b0ad..769b1ce5854fe2aaa8e754f3b7bc1f3839daf62b 100644 |
--- a/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp |
+++ b/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp |
@@ -88,14 +88,14 @@ void {{v8_class}}::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, {{ |
{% endfor %} |
} |
-v8::Local<v8::Value> toV8(const {{cpp_class}}& impl, v8::Local<v8::Object> creationContext, v8::Isolate* isolate) |
+v8::Local<v8::Value> {{cpp_class}}::toV8Impl(v8::Local<v8::Object> creationContext, v8::Isolate* isolate) const |
{ |
v8::Local<v8::Object> v8Object = v8::Object::New(isolate); |
{% if parent_v8_class %} |
- if (!toV8{{parent_cpp_class}}(impl, v8Object, creationContext, isolate)) |
+ if (!toV8{{parent_cpp_class}}(*this, v8Object, creationContext, isolate)) |
return v8::Local<v8::Value>(); |
{% endif %} |
- if (!toV8{{cpp_class}}(impl, v8Object, creationContext, isolate)) |
+ if (!toV8{{cpp_class}}(*this, v8Object, creationContext, isolate)) |
return v8::Local<v8::Value>(); |
return v8Object; |
} |