Index: Source/bindings/core/v8/DOMDataStore.h |
diff --git a/Source/bindings/core/v8/DOMDataStore.h b/Source/bindings/core/v8/DOMDataStore.h |
index d386927ec844da9b29a1891c50acacbcdb74ffe5..9da406935c4f5fe0e801660b85335f6fa5c325b1 100644 |
--- a/Source/bindings/core/v8/DOMDataStore.h |
+++ b/Source/bindings/core/v8/DOMDataStore.h |
@@ -145,7 +145,7 @@ public: |
{ |
if (m_isMainWorld) |
return object->newLocalWrapper(isolate); |
- return m_wrapperMap->newLocal(object, isolate); |
+ return m_wrapperMap->newLocal(isolate, object); |
} |
void setReference(const v8::Persistent<v8::Object>& parent, ScriptWrappable* child, v8::Isolate* isolate) |
@@ -154,7 +154,7 @@ public: |
child->setReference(parent, isolate); |
return; |
} |
- m_wrapperMap->setReference(parent, child, isolate); |
+ m_wrapperMap->setReference(isolate, parent, child); |
} |
bool setReturnValueFrom(v8::ReturnValue<v8::Value> returnValue, ScriptWrappable* object) |