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

Unified Diff: webkit/support/simple_dom_storage_system.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/support/simple_dom_storage_system.cc
diff --git a/webkit/support/simple_dom_storage_system.cc b/webkit/support/simple_dom_storage_system.cc
index 29381387cc51651d573fbf2ae92e83a629b689f4..284e3c26c8cd5794567bfdb1a298902b32f8f6e7 100644
--- a/webkit/support/simple_dom_storage_system.cc
+++ b/webkit/support/simple_dom_storage_system.cc
@@ -145,13 +145,13 @@ unsigned SimpleDomStorageSystem::AreaImpl::length() {
WebString SimpleDomStorageSystem::AreaImpl::key(unsigned index) {
if (Host())
return Host()->GetAreaKey(connection_id_, index);
- return base::NullableString16(true);
+ return base::NullableString16();
}
WebString SimpleDomStorageSystem::AreaImpl::getItem(const WebString& key) {
if (Host())
return Host()->GetAreaItem(connection_id_, key);
- return base::NullableString16(true);
+ return base::NullableString16();
}
void SimpleDomStorageSystem::AreaImpl::setItem(
@@ -241,7 +241,7 @@ void SimpleDomStorageSystem::OnDomStorageItemRemoved(
const GURL& page_url) {
DispatchDomStorageEvent(area, page_url,
base::NullableString16(key, false),
- base::NullableString16(true),
+ base::NullableString16(),
base::NullableString16(old_value, false));
}
@@ -249,9 +249,9 @@ void SimpleDomStorageSystem::OnDomStorageAreaCleared(
const dom_storage::DomStorageArea* area,
const GURL& page_url) {
DispatchDomStorageEvent(area, page_url,
- base::NullableString16(true),
- base::NullableString16(true),
- base::NullableString16(true));
+ base::NullableString16(),
+ base::NullableString16(),
+ base::NullableString16());
}
void SimpleDomStorageSystem::DispatchDomStorageEvent(

Powered by Google App Engine
This is Rietveld 408576698