Commit 821eb21c authored by jsbell@chromium.org's avatar jsbell@chromium.org

IndexedDB: Remove invalid DCHECK that database name is non-empty

Nothing in the spec - or Blink implementation - precludes empty names
for databases. Remove this bogus DCHECK.

Will add Blink-side layout tests once this lands.

BUG=350133
R=cmumford

Review URL: https://codereview.chromium.org/189413007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255828 0039d316-1c4b-4281-b951-d872f2087c98
parent 91a64d28
...@@ -139,7 +139,6 @@ IndexedDBDatabase::IndexedDBDatabase(const base::string16& name, ...@@ -139,7 +139,6 @@ IndexedDBDatabase::IndexedDBDatabase(const base::string16& name,
kInvalidId), kInvalidId),
identifier_(unique_identifier), identifier_(unique_identifier),
factory_(factory) { factory_(factory) {
DCHECK(!metadata_.name.empty());
} }
void IndexedDBDatabase::AddObjectStore( void IndexedDBDatabase::AddObjectStore(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment