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

Unified Diff: webkit/browser/dom_storage/dom_storage_host.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/dom_storage_host.cc
diff --git a/webkit/browser/dom_storage/dom_storage_host.cc b/webkit/browser/dom_storage/dom_storage_host.cc
index 95d4d762cbecdcf3a7a213317699f0234f9a036c..be6205d56b2700ddee4e9cd6a98cecb334220818 100644
--- a/webkit/browser/dom_storage/dom_storage_host.cc
+++ b/webkit/browser/dom_storage/dom_storage_host.cc
@@ -84,7 +84,7 @@ base::NullableString16 DomStorageHost::GetAreaKey(int connection_id,
unsigned index) {
DomStorageArea* area = GetOpenArea(connection_id);
if (!area)
- return base::NullableString16(true);
+ return base::NullableString16();
return area->Key(index);
}
@@ -92,7 +92,7 @@ base::NullableString16 DomStorageHost::GetAreaItem(int connection_id,
const base::string16& key) {
DomStorageArea* area = GetOpenArea(connection_id);
if (!area)
- return base::NullableString16(true);
+ return base::NullableString16();
return area->GetItem(key);
}

Powered by Google App Engine
This is Rietveld 408576698