Index: src/apinatives.js |
diff --git a/src/apinatives.js b/src/apinatives.js |
index 0ba5c6838db004f06dde4961470964734f346ad9..65dc3cb9608cc574abca2412133f675ba6cc80d5 100644 |
--- a/src/apinatives.js |
+++ b/src/apinatives.js |
@@ -104,10 +104,10 @@ function ConfigureTemplateInstance(obj, data) { |
// TODO(verwaest): The 5th value used to be access_control. Remove once |
// the bindings are updated. |
var name = properties[i + 1]; |
- var getter = Instantiate(properties[i + 2]); |
- var setter = Instantiate(properties[i + 3]); |
+ var getter = properties[i + 2]; |
+ var setter = properties[i + 3]; |
var attribute = properties[i + 4]; |
- %DefineAccessorPropertyUnchecked(obj, name, getter, setter, attribute); |
+ %DefineApiAccessorProperty(obj, name, getter, setter, attribute); |
} else { |
throw "Bad properties array"; |
} |