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

Unified Diff: remoting/base/breakpad_win.cc

Issue 299363002: Cleanup: Get rid of unneeded base::UTF16ToWide() conversions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 6 years, 7 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
« no previous file with comments | « printing/printing_context_win.cc ('k') | ui/shell_dialogs/select_file_dialog_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/breakpad_win.cc
diff --git a/remoting/base/breakpad_win.cc b/remoting/base/breakpad_win.cc
index 9e544f0517dbc63b8c12f7bc970541fa5ef45219..a19a7171be74f55bd3bec2b11c1ac1a722f81c4d 100644
--- a/remoting/base/breakpad_win.cc
+++ b/remoting/base/breakpad_win.cc
@@ -150,8 +150,7 @@ google_breakpad::CustomClientInfo* BreakpadWin::GetCustomInfo() {
static wchar_t version[64];
if (version_info.get()) {
- wcscpy_s(version,
- base::UTF16ToWide(version_info->product_version()).c_str());
+ wcscpy_s(version, version_info->product_version().c_str());
} else {
wcscpy_s(version, kBreakpadVersionDefault);
}
« no previous file with comments | « printing/printing_context_win.cc ('k') | ui/shell_dialogs/select_file_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698