isDestroy => isDestroyed

This commit is contained in:
Cheng Zhao 2015-12-04 19:23:13 +08:00
parent e859228db1
commit 5e70868fd0

View file

@ -34,7 +34,7 @@ ObjectTemplateBuilder& ObjectTemplateBuilder::SetPropertyImpl(
ObjectTemplateBuilder& ObjectTemplateBuilder::MakeDestroyable() {
SetMethod("destroy", base::Bind(internal::Destroyable::Destroy));
SetMethod("isDestroy", base::Bind(internal::Destroyable::IsDestroyed));
SetMethod("isDestroyed", base::Bind(internal::Destroyable::IsDestroyed));
return *this;
}