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

Unified Diff: content/browser/gamepad/gamepad_platform_data_fetcher_win.cc

Issue 80813002: Cleanup: Remove many unused wstring string_utils. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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 | « base/strings/string_util_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gamepad/gamepad_platform_data_fetcher_win.cc
===================================================================
--- content/browser/gamepad/gamepad_platform_data_fetcher_win.cc (revision 236429)
+++ content/browser/gamepad/gamepad_platform_data_fetcher_win.cc (working copy)
@@ -196,10 +196,10 @@
SetDirectInputDeadZone(gamepad, 1000);
device.mapper = GetGamepadStandardMappingFunction(vendor, product);
if (device.mapper) {
- base::swprintf(device.id,
- WebGamepad::idLengthCap,
- L"STANDARD GAMEPAD (%ls)",
- instance->tszProductName);
+ swprintf(device.id,
+ WebGamepad::idLengthCap,
+ L"STANDARD GAMEPAD (%ls)",
+ instance->tszProductName);
ctxt->directinput_devices->push_back(device);
} else {
gamepad->Release();
@@ -349,10 +349,10 @@
return false;
} else {
pad->connected = true;
- base::swprintf(pad->id,
- WebGamepad::idLengthCap,
- L"Xbox 360 Controller (XInput STANDARD %ls)",
- GamepadSubTypeName(caps.SubType));
+ swprintf(pad->id,
+ WebGamepad::idLengthCap,
+ L"Xbox 360 Controller (XInput STANDARD %ls)",
+ GamepadSubTypeName(caps.SubType));
return true;
}
}
« no previous file with comments | « base/strings/string_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698