| Index: extensions/renderer/api_binding.cc
|
| diff --git a/extensions/renderer/api_binding.cc b/extensions/renderer/api_binding.cc
|
| index 8652b713c11623ece33c9a30f45d710ed19f20db..5997512d0d13b47850238c3a442feef8290b29ff 100644
|
| --- a/extensions/renderer/api_binding.cc
|
| +++ b/extensions/renderer/api_binding.cc
|
| @@ -376,6 +376,10 @@ void APIBinding::InitializeTemplate(v8::Isolate* isolate) {
|
| *property_definitions_);
|
| }
|
|
|
| + // Allow custom bindings a chance to tweak the template, such as to add
|
| + // additional properties or types.
|
| + binding_hooks_->InitializeTemplate(isolate, object_template, *type_refs_);
|
| +
|
| object_template_.Set(isolate, object_template);
|
| }
|
|
|
|
|