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

Unified Diff: content/gpu/gpu_info_collector_win.cc

Issue 12767006: [Cleanup] Remove StringPrintf from global namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, once more Created 7 years, 9 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
Index: content/gpu/gpu_info_collector_win.cc
diff --git a/content/gpu/gpu_info_collector_win.cc b/content/gpu/gpu_info_collector_win.cc
index f1d55165352dd094120bf333ccea32fde6b82205..54ac7c1468e43b603e40bcb85f81c8742bc6b18d 100644
--- a/content/gpu/gpu_info_collector_win.cc
+++ b/content/gpu/gpu_info_collector_win.cc
@@ -498,13 +498,13 @@ bool CollectContextGraphicsInfo(content::GPUInfo* gpu_info) {
&pixel_shader_minor_version)) {
gpu_info->can_lose_context = direct3d_version == "9";
gpu_info->vertex_shader_version =
- StringPrintf("%d.%d",
- vertex_shader_major_version,
- vertex_shader_minor_version);
+ base::StringPrintf("%d.%d",
+ vertex_shader_major_version,
+ vertex_shader_minor_version);
gpu_info->pixel_shader_version =
- StringPrintf("%d.%d",
- pixel_shader_major_version,
- pixel_shader_minor_version);
+ base::StringPrintf("%d.%d",
+ pixel_shader_major_version,
+ pixel_shader_minor_version);
// DirectX diagnostics are collected asynchronously because it takes a
// couple of seconds. Do not mark gpu_info as complete until that is done.

Powered by Google App Engine
This is Rietveld 408576698