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

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

Issue 9117040: Prep for landing WK76487 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move default: label to last, add bug URL to TODO comment Created 8 years, 11 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
« no previous file with comments | « content/common/indexed_db/indexed_db_key.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ac3d20f2e6f8da835d651d92fb16c445676a9420..7af7e5e82d980ca914e0710dc2c3485132036525 100644
--- a/content/common/indexed_db/indexed_db_param_traits.cc
+++ b/content/common/indexed_db/indexed_db_param_traits.cc
@@ -62,6 +62,9 @@ void ParamTraits<IndexedDBKey>::Write(Message* m, const param_type& p) {
WriteParam(m, p.number());
return;
case WebKit::WebIDBKey::InvalidType:
+ default:
+ // TODO(jsbell): Remove "default" label once WebKit bug 76487 has rolled.
+ // http://crbug.com/110956
return;
}
NOTREACHED();
@@ -108,6 +111,9 @@ bool ParamTraits<IndexedDBKey>::Read(const Message* m,
return true;
}
case WebKit::WebIDBKey::InvalidType:
+ default:
+ // TODO(jsbell): Remove "default" label once WebKit bug 76487 has rolled.
+ // http://crbug.com/110956
r->SetInvalid();
return true;
}
« no previous file with comments | « content/common/indexed_db/indexed_db_key.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698