| Index: content/browser/indexed_db/indexed_db_connection.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_connection.cc b/content/browser/indexed_db/indexed_db_connection.cc
|
| index c2c7ebd266df6df2f445818775ad260965660cbb..08faceecd27ccade002c239da25246a7fb8ae8cb 100644
|
| --- a/content/browser/indexed_db/indexed_db_connection.cc
|
| +++ b/content/browser/indexed_db/indexed_db_connection.cc
|
| @@ -12,10 +12,18 @@ namespace content {
|
| IndexedDBConnection::IndexedDBConnection(
|
| scoped_refptr<IndexedDBDatabase> database,
|
| scoped_refptr<IndexedDBDatabaseCallbacks> callbacks)
|
| - : database_(database), callbacks_(callbacks), weak_factory_(this) {}
|
| + : id_(kInvalidId),
|
| + database_(database),
|
| + callbacks_(callbacks),
|
| + weak_factory_(this) {}
|
|
|
| IndexedDBConnection::~IndexedDBConnection() {}
|
|
|
| +void IndexedDBConnection::setId(int32_t id) {
|
| + DCHECK_EQ(id_, kInvalidId);
|
| + id_ = id;
|
| +}
|
| +
|
| void IndexedDBConnection::Close() {
|
| if (!callbacks_.get())
|
| return;
|
|
|