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

Unified Diff: Source/bindings/modules/v8/V8BindingForModulesTest.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/bindings/modules/v8/V8BindingForModulesTest.cpp
diff --git a/Source/bindings/modules/v8/IDBBindingUtilitiesTest.cpp b/Source/bindings/modules/v8/V8BindingForModulesTest.cpp
similarity index 97%
rename from Source/bindings/modules/v8/IDBBindingUtilitiesTest.cpp
rename to Source/bindings/modules/v8/V8BindingForModulesTest.cpp
index b34abbccf50ceb0f66aaf76a8ccde11fbb8d0d06..f4aee33bcaf6129e65a91091f5365d16fcf48b93 100644
--- a/Source/bindings/modules/v8/IDBBindingUtilitiesTest.cpp
+++ b/Source/bindings/modules/v8/V8BindingForModulesTest.cpp
@@ -24,10 +24,11 @@
*/
#include "config.h"
-#include "bindings/modules/v8/IDBBindingUtilities.h"
+#include "bindings/modules/v8/V8BindingForModules.h"
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V8PerIsolateData.h"
+#include "bindings/modules/v8/ToV8ForModules.h"
#include "modules/indexeddb/IDBKey.h"
#include "modules/indexeddb/IDBKeyPath.h"
#include <gtest/gtest.h>
@@ -53,7 +54,7 @@ bool injectKey(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const
{
IDBKeyPath idbKeyPath(keyPath);
EXPECT_TRUE(idbKeyPath.isValid());
- ScriptValue keyValue = idbKeyToScriptValue(scriptState, key);
+ ScriptValue keyValue = ScriptValue::from(scriptState, key);
return injectV8KeyIntoV8Value(scriptState->isolate(), keyValue.v8Value(), value.v8Value(), idbKeyPath);
}

Powered by Google App Engine
This is Rietveld 408576698