Index: content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc |
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc b/content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc |
index 148ec4985de1068aaf2922102ef7cb5bc7a1b31b..d466dde4b06c398be172fb97ee36321a5521744a 100644 |
--- a/content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc |
+++ b/content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc |
@@ -186,7 +186,7 @@ void GamepadPlatformDataFetcherLinux::RefreshDevice(udev_device* dev) { |
mapper ? "STANDARD GAMEPAD " : "", |
vendor_id, |
product_id); |
- TruncateUTF8ToByteSize(id, WebGamepad::idLengthCap - 1, &id); |
+ base::TruncateUTF8ToByteSize(id, WebGamepad::idLengthCap - 1, &id); |
base::string16 tmp16 = UTF8ToUTF16(id); |
memset(pad.id, 0, sizeof(pad.id)); |
tmp16.copy(pad.id, arraysize(pad.id) - 1); |