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

Unified Diff: components/sessions/serialized_navigation_entry.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: components/sessions/serialized_navigation_entry.cc
diff --git a/components/sessions/serialized_navigation_entry.cc b/components/sessions/serialized_navigation_entry.cc
index 061c422e7a0968b3b88e46190ab510b2fa1ec5a5..a51580b22a5f85720ddb9f2b5b7e86ef92b4a2bb 100644
--- a/components/sessions/serialized_navigation_entry.cc
+++ b/components/sessions/serialized_navigation_entry.cc
@@ -183,7 +183,7 @@ void WriteString16ToPickle(Pickle* pickle,
int* bytes_written,
int max_bytes,
const base::string16& str) {
- int num_bytes = str.size() * sizeof(char16);
+ int num_bytes = str.size() * sizeof(base::char16);
if (*bytes_written + num_bytes < max_bytes) {
*bytes_written += num_bytes;
pickle->WriteString16(str);
« no previous file with comments | « components/policy/core/common/preg_parser_win.cc ('k') | components/webdata/encryptor/encryptor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698