Index: content/common/indexed_db/indexed_db_dispatcher_unittest.cc |
diff --git a/content/common/indexed_db/indexed_db_dispatcher_unittest.cc b/content/common/indexed_db/indexed_db_dispatcher_unittest.cc |
index 713df859f3a07ea2651b3029af9b8cfcd63268e8..beb3d3324db49418c82bf0336a9c37317cc423ca 100644 |
--- a/content/common/indexed_db/indexed_db_dispatcher_unittest.cc |
+++ b/content/common/indexed_db/indexed_db_dispatcher_unittest.cc |
@@ -27,22 +27,23 @@ class FakeWebIDBTransaction : public WebKit::WebIDBTransaction { |
TEST(IndexedDBDispatcherTest, DISABLED_ValueSizeTest) { |
string16 data; |
data.resize(kMaxIDBValueSizeInBytes / sizeof(char16) + 1, 'x'); |
- const bool kIsNull = false; |
- const bool kIsInvalid = false; |
- const SerializedScriptValue value(kIsNull, kIsInvalid, data); |
+ WebKit::WebVector<unsigned char> value; |
const int32 ipc_dummy_id = -1; |
+ const int64 transaction_id = 1; |
+ const int64 object_store_id = 2; |
{ |
IndexedDBDispatcher dispatcher; |
IndexedDBKey key; |
key.SetNumber(0); |
- dispatcher.RequestIDBObjectStorePut( |
- value, |
+ dispatcher.RequestIDBDatabasePut( |
+ ipc_dummy_id, |
+ transaction_id, |
+ object_store_id, |
+ &value, |
key, |
- WebKit::WebIDBObjectStore::AddOrUpdate, |
+ WebKit::WebIDBDatabase::AddOrUpdate, |
static_cast<WebKit::WebIDBCallbacks*>(NULL), |
- ipc_dummy_id, |
- FakeWebIDBTransaction(), |
WebVector<long long>(), |
WebVector<WebVector<WebKit::WebIDBKey> >()); |
} |