summaryrefslogtreecommitdiffstats
path: root/chromium/content/common/indexed_db/indexed_db_param_traits.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/common/indexed_db/indexed_db_param_traits.cc')
-rw-r--r--chromium/content/common/indexed_db/indexed_db_param_traits.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/chromium/content/common/indexed_db/indexed_db_param_traits.cc b/chromium/content/common/indexed_db/indexed_db_param_traits.cc
index 0a566e26e10..916503c3504 100644
--- a/chromium/content/common/indexed_db/indexed_db_param_traits.cc
+++ b/chromium/content/common/indexed_db/indexed_db_param_traits.cc
@@ -105,8 +105,6 @@ bool ParamTraits<IndexedDBKey>::Read(const Message* m,
NOTREACHED();
return false;
}
- NOTREACHED();
- return false;
}
void ParamTraits<IndexedDBKey>::Log(const param_type& p, std::string* l) {
@@ -143,8 +141,10 @@ void ParamTraits<IndexedDBKeyPath>::Write(Message* m, const param_type& p) {
return;
case WebIDBKeyPathTypeNull:
return;
+ default:
+ NOTREACHED();
+ return;
}
- NOTREACHED();
}
bool ParamTraits<IndexedDBKeyPath>::Read(const Message* m,
@@ -172,9 +172,10 @@ bool ParamTraits<IndexedDBKeyPath>::Read(const Message* m,
case WebIDBKeyPathTypeNull:
*r = IndexedDBKeyPath();
return true;
+ default:
+ NOTREACHED();
+ return false;
}
- NOTREACHED();
- return false;
}
void ParamTraits<IndexedDBKeyPath>::Log(const param_type& p, std::string* l) {