Index: third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl |
index a43b7d2bd2fc64aa6d639e9879d6c5623ae68eb6..f525b5eaff2e5abd8f461b2e0af7656e4249b360 100644 |
--- a/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl |
@@ -151,9 +151,9 @@ const v8::FunctionCallbackInfo<v8::Value>& info |
{% if attribute.is_keep_alive_for_gc %} |
// Keep the wrapper object for the return value alive as long as |this| |
// object is alive in order to save creation time of the wrapper object. |
- if ({{attribute.cpp_value}} && DOMDataStore::setReturnValue{{world_suffix}}(info.GetReturnValue(), {{attribute.cpp_value}})) |
+ if ({{attribute.cpp_value}} && DOMDataStore::setReturnValue{{world_suffix}}(info.GetReturnValue(), {{attribute.cpp_value_to_script_wrappable}})) |
return; |
- v8::Local<v8::Value> v8Value(ToV8({{attribute.cpp_value}}, holder, info.GetIsolate())); |
+ v8::Local<v8::Value> v8Value(ToV8({{attribute.cpp_value_to_script_wrappable}}, holder, info.GetIsolate())); |
V8PrivateProperty::getSymbol( |
info.GetIsolate(), "KeepAlive#{{interface_name}}#{{attribute.name}}") |
.set(holder, v8Value); |