Index: Source/WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp |
=================================================================== |
--- Source/WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp (revision 132816) |
+++ Source/WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp (working copy) |
@@ -31,7 +31,7 @@ |
#include "V8IDBAny.h" |
-#include "ScriptValue.h" |
+#include "SerializedScriptValue.h" |
#include "V8Binding.h" |
#include "V8DOMStringList.h" |
#include "V8IDBCursor.h" |
@@ -73,12 +73,10 @@ |
return toV8(impl->idbObjectStore(), creationContext, isolate); |
case IDBAny::IDBTransactionType: |
return toV8(impl->idbTransaction(), creationContext, isolate); |
- case IDBAny::ScriptValueType: |
- return impl->scriptValue().v8Value(); |
+ case IDBAny::SerializedScriptValueType: |
+ return impl->serializedScriptValue()->deserialize(0, isolate); |
case IDBAny::StringType: |
return v8String(impl->string(), isolate); |
- case IDBAny::IntegerType: |
- return v8::Number::New(impl->integer()); |
} |
ASSERT_NOT_REACHED(); |