Index: content/child/indexed_db/indexed_db_key_builders.cc |
=================================================================== |
--- content/child/indexed_db/indexed_db_key_builders.cc (revision 257821) |
+++ content/child/indexed_db/indexed_db_key_builders.cc (working copy) |
@@ -62,8 +62,6 @@ |
NOTREACHED(); |
return IndexedDBKey(); |
} |
- NOTREACHED(); |
- return IndexedDBKey(); |
} |
WebIDBKey WebIDBKeyBuilder::Build(const IndexedDBKey& key) { |
@@ -93,8 +91,6 @@ |
NOTREACHED(); |
return WebIDBKey::createInvalid(); |
} |
- NOTREACHED(); |
- return WebIDBKey::createInvalid(); |
} |
IndexedDBKeyRange IndexedDBKeyRangeBuilder::Build( |
@@ -115,9 +111,10 @@ |
return IndexedDBKeyPath(CopyArray(key_path.array())); |
case blink::WebIDBKeyPathTypeNull: |
return IndexedDBKeyPath(); |
+ default: |
+ NOTREACHED(); |
+ return IndexedDBKeyPath(); |
} |
- NOTREACHED(); |
- return IndexedDBKeyPath(); |
} |
blink::WebIDBKeyPath WebIDBKeyPathBuilder::Build( |
@@ -129,9 +126,10 @@ |
return blink::WebIDBKeyPath::create(CopyArray(key_path.array())); |
case blink::WebIDBKeyPathTypeNull: |
return blink::WebIDBKeyPath::createNull(); |
+ default: |
+ NOTREACHED(); |
+ return blink::WebIDBKeyPath::createNull(); |
} |
- NOTREACHED(); |
- return blink::WebIDBKeyPath::createNull(); |
} |
} // namespace content |