Index: webkit/support/test_webkit_platform_support.cc |
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc |
index 6bcc225ea09657969225803a491005b1313846ea..505c13be2e57f0d2f8ce7a201f7871e7054352bc 100644 |
--- a/webkit/support/test_webkit_platform_support.cc |
+++ b/webkit/support/test_webkit_platform_support.cc |
@@ -330,12 +330,12 @@ WebKit::WebIDBFactory* TestWebKitPlatformSupport::idbFactory() { |
void TestWebKitPlatformSupport::createIDBKeysFromSerializedValuesAndKeyPath( |
const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, |
- const WebKit::WebString& keyPath, |
+ const WebKit::WebIDBKeyPath& keyPath, |
WebKit::WebVector<WebKit::WebIDBKey>& keys_out) { |
WebKit::WebVector<WebKit::WebIDBKey> keys(values.size()); |
for (size_t i = 0; i < values.size(); ++i) { |
keys[i] = WebKit::WebIDBKey::createFromValueAndKeyPath( |
- values[i], WebKit::WebIDBKeyPath::create(keyPath)); |
+ values[i], keyPath); |
} |
keys_out.swap(keys); |
} |
@@ -344,9 +344,9 @@ WebKit::WebSerializedScriptValue |
TestWebKitPlatformSupport::injectIDBKeyIntoSerializedValue( |
const WebKit::WebIDBKey& key, |
const WebKit::WebSerializedScriptValue& value, |
- const WebKit::WebString& keyPath) { |
+ const WebKit::WebIDBKeyPath& keyPath) { |
return WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue( |
- key, value, WebKit::WebIDBKeyPath::create(keyPath)); |
+ key, value, keyPath); |
} |
#if defined(OS_WIN) || defined(OS_MACOSX) |