Index: content/child/indexed_db/indexed_db_dispatcher.cc |
diff --git a/content/child/indexed_db/indexed_db_dispatcher.cc b/content/child/indexed_db/indexed_db_dispatcher.cc |
index 78400d4f8876ea4a8c6ab523ba989a8f95ae51a3..3862e3b745d679c6b33e8d5e54f9615ddf43bf2b 100644 |
--- a/content/child/indexed_db/indexed_db_dispatcher.cc |
+++ b/content/child/indexed_db/indexed_db_dispatcher.cc |
@@ -14,7 +14,6 @@ |
#include "content/child/indexed_db/webidbcursor_impl.h" |
#include "content/child/indexed_db/webidbdatabase_impl.h" |
#include "content/child/thread_safe_sender.h" |
-#include "content/common/indexed_db/indexed_db_constants.h" |
#include "content/common/indexed_db/indexed_db_messages.h" |
#include "ipc/ipc_channel.h" |
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCallbacks.h" |
@@ -47,12 +46,8 @@ IndexedDBDispatcher* const kHasBeenDeleted = |
} // unnamed namespace |
-const size_t kMaxIDBValueSizeInBytes = |
- IPC::Channel::kMaximumMessageSize - kMaxIDBMessageOverhead; |
- |
IndexedDBDispatcher::IndexedDBDispatcher(ThreadSafeSender* thread_safe_sender) |
- : thread_safe_sender_(thread_safe_sender), |
- max_put_value_size_(kMaxIDBValueSizeInBytes) { |
+ : thread_safe_sender_(thread_safe_sender) { |
g_idb_dispatcher_tls.Pointer()->Set(this); |
} |