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

Unified Diff: gpu/config/gpu_dx_diagnostics_win.cc

Issue 112963005: Update uses of UTF conversions in courgette/, device/, extensions/, google_apis/, gpu/, ipc/, media… (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
« no previous file with comments | « google_apis/gaia/oauth2_mint_token_flow_unittest.cc ('k') | ipc/ipc_channel_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_dx_diagnostics_win.cc
diff --git a/gpu/config/gpu_dx_diagnostics_win.cc b/gpu/config/gpu_dx_diagnostics_win.cc
index 023e351d82cdd30a06b24907ff5d059fe9852f24..0c09ded59cf01b433503a03559b5eecde17d66ec 100644
--- a/gpu/config/gpu_dx_diagnostics_win.cc
+++ b/gpu/config/gpu_dx_diagnostics_win.cc
@@ -36,7 +36,7 @@ void RecurseDiagnosticTree(DxDiagNode* output,
WCHAR prop_name16[256];
hr = container->EnumPropNames(i, prop_name16, arraysize(prop_name16));
if (SUCCEEDED(hr)) {
- std::string prop_name8 = WideToUTF8(prop_name16);
+ std::string prop_name8 = base::WideToUTF8(prop_name16);
hr = container->GetProp(prop_name16, &variant);
if (SUCCEEDED(hr)) {
@@ -51,7 +51,7 @@ void RecurseDiagnosticTree(DxDiagNode* output,
output->values[prop_name8] = variant.boolVal ? "true" : "false";
break;
case VT_BSTR:
- output->values[prop_name8] = WideToUTF8(variant.bstrVal);
+ output->values[prop_name8] = base::WideToUTF8(variant.bstrVal);
break;
default:
break;
@@ -74,7 +74,7 @@ void RecurseDiagnosticTree(DxDiagNode* output,
child_name16,
arraysize(child_name16));
if (SUCCEEDED(hr)) {
- std::string child_name8 = WideToUTF8(child_name16);
+ std::string child_name8 = base::WideToUTF8(child_name16);
DxDiagNode* output_child = &output->children[child_name8];
IDxDiagContainer* child_container = NULL;
« no previous file with comments | « google_apis/gaia/oauth2_mint_token_flow_unittest.cc ('k') | ipc/ipc_channel_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698