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

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

Issue 1003713002: [bindings] Rename IDBBindingUtilities.cpp to V8BindingForModules.cpp (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/IDBFactory.cpp
diff --git a/Source/modules/indexeddb/IDBFactory.cpp b/Source/modules/indexeddb/IDBFactory.cpp
index 0f727cf55e576966bc8751d7a85b86f31da28040..4556364e5b47f90fcf5f672d2bcc7b242ae503d3 100644
--- a/Source/modules/indexeddb/IDBFactory.cpp
+++ b/Source/modules/indexeddb/IDBFactory.cpp
@@ -30,7 +30,7 @@
#include "modules/indexeddb/IDBFactory.h"
#include "bindings/core/v8/ExceptionState.h"
-#include "bindings/modules/v8/IDBBindingUtilities.h"
+#include "bindings/modules/v8/V8BindingForModules.h"
#include "core/dom/Document.h"
#include "core/dom/ExceptionCode.h"
#include "modules/indexeddb/IDBDatabase.h"
@@ -155,8 +155,8 @@ IDBOpenDBRequest* IDBFactory::deleteDatabase(ScriptState* scriptState, const Str
short IDBFactory::cmp(ScriptState* scriptState, const ScriptValue& firstValue, const ScriptValue& secondValue, ExceptionState& exceptionState)
{
- IDBKey* first = scriptValueToIDBKey(scriptState->isolate(), firstValue);
- IDBKey* second = scriptValueToIDBKey(scriptState->isolate(), secondValue);
+ IDBKey* first = script_value_cast<IDBKey*>(firstValue, scriptState->isolate(), exceptionState);
+ IDBKey* second = script_value_cast<IDBKey*>(secondValue, scriptState->isolate(), exceptionState);
ASSERT(first);
ASSERT(second);

Powered by Google App Engine
This is Rietveld 408576698