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

Unified Diff: webkit/browser/dom_storage/session_storage_database.cc

Issue 17327004: Replace base::NullableString16(bool) usage with default constructor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: webkit/browser/dom_storage/session_storage_database.cc
diff --git a/webkit/browser/dom_storage/session_storage_database.cc b/webkit/browser/dom_storage/session_storage_database.cc
index ef187ad1260b73bc26616921356a8bf9003260ca..38242fbb5d9d8553397f28b8d3c86298b6e87cc5 100644
--- a/webkit/browser/dom_storage/session_storage_database.cc
+++ b/webkit/browser/dom_storage/session_storage_database.cc
@@ -523,7 +523,7 @@ bool SessionStorageDatabase::ReadMap(const std::string& map_id,
// Key is of the form "map-<mapid>-<key>".
base::string16 key16 = UTF8ToUTF16(key.substr(map_start_key.length()));
if (only_keys) {
- (*result)[key16] = base::NullableString16(true);
+ (*result)[key16] = base::NullableString16();
} else {
// Convert the raw data stored in std::string (it->value()) to raw data
// stored in base::string16.

Powered by Google App Engine
This is Rietveld 408576698