Index: Source/bindings/v8/SerializedScriptValue.cpp |
diff --git a/Source/bindings/v8/SerializedScriptValue.cpp b/Source/bindings/v8/SerializedScriptValue.cpp |
index a99cc3c2654a8ce2d158533fbd30e19a24805355..1179d32e29722eb61c393a984d0aac76b2240fb3 100644 |
--- a/Source/bindings/v8/SerializedScriptValue.cpp |
+++ b/Source/bindings/v8/SerializedScriptValue.cpp |
@@ -2181,8 +2181,8 @@ private: |
return false; |
if (!readWebCoreString(&url)) |
return false; |
- RefPtrWillBeRawPtr<DOMFileSystem> fs = DOMFileSystem::create(m_scriptState->executionContext(), name, static_cast<WebCore::FileSystemType>(type), KURL(ParsedURLString, url)); |
- *value = toV8(fs.release(), m_scriptState->context()->Global(), isolate()); |
+ DOMFileSystem* fs = DOMFileSystem::create(m_scriptState->executionContext(), name, static_cast<WebCore::FileSystemType>(type), KURL(ParsedURLString, url)); |
+ *value = toV8(fs, m_scriptState->context()->Global(), isolate()); |
return true; |
} |