Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 3e1f9fec982dbcc6231edcdd3bec8a85b8f601ab..aecb58ca9353b57f2d8d11da598895a54e2a39d2 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1264,7 +1264,7 @@ int TypeSwitch::match(v8::Handle<Value> value) { |
#define SET_FIELD_WRAPPED(obj, setter, cdata) do { \ |
- i::Handle<i::Object> foreign = FromCData(cdata); \ |
+ i::Handle<i::Object> foreign = FromCData(obj->GetIsolate(), cdata); \ |
(obj)->setter(*foreign); \ |
} while (false) |