mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Fix compilation error with node 0.10.
This commit is contained in:
@@ -8,7 +8,7 @@ namespace mate {
|
||||
|
||||
Dictionary::Dictionary(v8::Isolate* isolate)
|
||||
: isolate_(isolate),
|
||||
object_(v8::Object::New(isolate)) {
|
||||
object_(MATE_OBJECT_NEW(isolate)) {
|
||||
}
|
||||
|
||||
Dictionary::Dictionary(v8::Isolate* isolate,
|
||||
@@ -22,7 +22,7 @@ Dictionary::~Dictionary() {
|
||||
|
||||
Dictionary Dictionary::CreateEmpty(v8::Isolate* isolate) {
|
||||
Dictionary dictionary(isolate);
|
||||
dictionary.object_ = v8::Object::New(isolate);
|
||||
dictionary.object_ = MATE_OBJECT_NEW(isolate);
|
||||
return dictionary;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user