BuildPrototype should not be empty

This commit is contained in:
Cheng Zhao 2016-04-25 12:24:11 +09:00
parent 13f8599ba1
commit d72a0e452f

View file

@ -53,6 +53,7 @@ v8::Local<v8::Value> PowerMonitor::Create(v8::Isolate* isolate) {
// static // static
void PowerMonitor::BuildPrototype( void PowerMonitor::BuildPrototype(
v8::Isolate* isolate, v8::Local<v8::ObjectTemplate> prototype) { v8::Isolate* isolate, v8::Local<v8::ObjectTemplate> prototype) {
mate::ObjectTemplateBuilder(isolate, prototype);
} }
} // namespace api } // namespace api