Commit 1c0d372b authored by peria's avatar peria Committed by Commit bot

Expose CachedAccessorCallback in generated code

Makes these callbacks visible from other .cpp files.

BUG=617892

Review-Url: https://codereview.chromium.org/2617933002
Cr-Commit-Position: refs/heads/master@{#441888}
parent 82a51d45
...@@ -229,7 +229,7 @@ const v8::FunctionCallbackInfo<v8::Value>& info ...@@ -229,7 +229,7 @@ const v8::FunctionCallbackInfo<v8::Value>& info
{##############################################################################} {##############################################################################}
{% macro attribute_cache_property_callback(attribute) %} {% macro attribute_cache_property_callback(attribute) %}
static v8::Local<v8::Private> {{attribute.name}}CachedAccessorCallback(v8::Isolate* isolate) v8::Local<v8::Private> {{attribute.name}}CachedAccessorCallback(v8::Isolate* isolate)
{ {
return V8PrivateProperty::get{{attribute.cached_accessor_name}}(isolate).getPrivate(); return V8PrivateProperty::get{{attribute.cached_accessor_name}}(isolate).getPrivate();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment