 Chromium Code Reviews
 Chromium Code Reviews Issue 5968008:
  Update file version info/memory details/process utils to use string16....  (Closed) 
  Base URL: svn://chrome-svn/chrome/trunk/src/
    
  
    Issue 5968008:
  Update file version info/memory details/process utils to use string16....  (Closed) 
  Base URL: svn://chrome-svn/chrome/trunk/src/| Index: chrome/browser/memory_details.cc | 
| =================================================================== | 
| --- chrome/browser/memory_details.cc (revision 69950) | 
| +++ chrome/browser/memory_details.cc (working copy) | 
| @@ -88,7 +88,7 @@ | 
| continue; | 
| info.type = iter->type(); | 
| - info.titles.push_back(iter->name()); | 
| + info.titles.push_back(WideToUTF16Hack(iter->name())); | 
| child_info.push_back(info); | 
| } | 
| @@ -149,9 +149,9 @@ | 
| contents = host->delegate()->GetAsTabContents(); | 
| if (!contents) | 
| continue; | 
| - std::wstring title = UTF16ToWideHack(contents->GetTitle()); | 
| + string16 title = contents->GetTitle(); | 
| if (!title.length()) | 
| - title = L"Untitled"; | 
| + title = UTF8ToUTF16("Untitled"); | 
| 
Evan Martin
2010/12/22 23:03:59
Heh, funny this isn't translated.
 
Avi (use Gerrit)
2010/12/22 23:25:02
:(
 | 
| process.titles.push_back(title); | 
| // We need to check the pending entry as well as the virtual_url to |