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

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

Issue 113403006: Update some uses of char16 to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/browser/dom_storage/session_storage_database.cc
diff --git a/content/browser/dom_storage/session_storage_database.cc b/content/browser/dom_storage/session_storage_database.cc
index 8dc8b91c279bda1748d5753e0f5736c677947596..30d3d86577e8614d6b80cce935646b821fa64922 100644
--- a/content/browser/dom_storage/session_storage_database.cc
+++ b/content/browser/dom_storage/session_storage_database.cc
@@ -578,9 +578,9 @@ bool SessionStorageDatabase::ReadMap(const std::string& map_id,
} else {
// Convert the raw data stored in std::string (it->value()) to raw data
// stored in base::string16.
- size_t len = it->value().size() / sizeof(char16);
- const char16* data_ptr =
- reinterpret_cast<const char16*>(it->value().data());
+ size_t len = it->value().size() / sizeof(base::char16);
+ const base::char16* data_ptr =
+ reinterpret_cast<const base::char16*>(it->value().data());
(*result)[key16] =
base::NullableString16(base::string16(data_ptr, len), false);
}
« no previous file with comments | « content/browser/dom_storage/dom_storage_database.cc ('k') | content/browser/dom_storage/session_storage_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698