Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(760)

Unified Diff: Source/modules/indexeddb/IDBObjectStore.cpp

Issue 718383003: bindings: fixed incorrect dependency of SerializedScriptValue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/indexeddb/IDBObjectStore.cpp
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp
index 38ee016e6dae2b3461ca6b5aa0bde36c49f63b69..9d470863ea4a45ba3f6f1d2294b03a45ac9860de 100644
--- a/Source/modules/indexeddb/IDBObjectStore.cpp
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp
@@ -29,6 +29,7 @@
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/ExceptionStatePlaceholder.h"
#include "bindings/core/v8/ScriptState.h"
+#include "bindings/core/v8/SerializedScriptValueFactory.h"
#include "bindings/modules/v8/IDBBindingUtilities.h"
#include "core/dom/DOMStringList.h"
#include "core/dom/ExceptionCode.h"
@@ -177,7 +178,7 @@ IDBRequest* IDBObjectStore::put(ScriptState* scriptState, WebIDBPutMode putMode,
}
Vector<WebBlobInfo> blobInfo;
- RefPtr<SerializedScriptValue> serializedValue = SerializedScriptValue::create(value, &blobInfo, exceptionState, scriptState->isolate());
+ RefPtr<SerializedScriptValue> serializedValue = SerializedScriptValueFactory::factory().create(value, &blobInfo, exceptionState, scriptState->isolate());
if (exceptionState.hadException())
return 0;

Powered by Google App Engine
This is Rietveld 408576698