Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1226)

Unified Diff: content/common/indexed_db/indexed_db_param_traits.cc

Issue 15564008: Migrate the IndexedDB backend from Blink to Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Accessor naming, use LevelDBSlice ctor explicitly Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/indexed_db/indexed_db_param_traits.cc
diff --git a/content/common/indexed_db/indexed_db_param_traits.cc b/content/common/indexed_db/indexed_db_param_traits.cc
index 8593f752fedca025574b893ad40bb2dd782a3d8f..e11ecb6c215c2aa1b43daa7d121353ca95791411 100644
--- a/content/common/indexed_db/indexed_db_param_traits.cc
+++ b/content/common/indexed_db/indexed_db_param_traits.cc
@@ -36,8 +36,7 @@ void ParamTraits<IndexedDBKey>::Write(Message* m, const param_type& p) {
case WebIDBKey::InvalidType:
case WebIDBKey::NullType:
return;
- default:
- // This is a placeholder for WebKit::WebIDBKey::MinType
+ case WebIDBKey::MinType:
NOTREACHED();
return;
}
@@ -78,8 +77,7 @@ bool ParamTraits<IndexedDBKey>::Read(const Message* m,
case WebIDBKey::NullType:
*r = IndexedDBKey(web_type);
return true;
- default:
- // This is a placeholder for WebKit::WebIDBKey::MinType
+ case WebIDBKey::MinType:
NOTREACHED();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698