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

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

Issue 1007703003: [bindings] Utilize ScriptValue::from and remove IDB* => ScriptValue conversion methods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months 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 bb1ddee2e7118ae9649246a9a01ac121928b810a..c6a959da76fdf85677005f12eb08917164b7eae4 100644
--- a/Source/modules/indexeddb/IDBObjectStore.cpp
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp
@@ -30,6 +30,7 @@
#include "bindings/core/v8/ExceptionStatePlaceholder.h"
#include "bindings/core/v8/ScriptState.h"
#include "bindings/core/v8/SerializedScriptValueFactory.h"
+#include "bindings/modules/v8/ToV8ForModules.h"
#include "bindings/modules/v8/V8BindingForModules.h"
#include "core/dom/DOMStringList.h"
#include "core/dom/ExceptionCode.h"
@@ -72,7 +73,7 @@ DEFINE_TRACE(IDBObjectStore)
ScriptValue IDBObjectStore::keyPath(ScriptState* scriptState) const
{
- return idbKeyPathToScriptValue(scriptState, m_metadata.keyPath);
+ return ScriptValue::from(scriptState, m_metadata.keyPath);
}
PassRefPtrWillBeRawPtr<DOMStringList> IDBObjectStore::indexNames() const

Powered by Google App Engine
This is Rietveld 408576698