summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/wifi_data_provider_common.cc
diff options
context:
space:
mode:
authorjames.wei@intel.com <james.wei@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 01:41:48 +0000
committerjames.wei@intel.com <james.wei@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 01:41:48 +0000
commit9ab5d4be70887e65a0dabce81dbff81fe9588116 (patch)
tree181707c76a672b38743064e5b59e122cb70d27ae /content/browser/geolocation/wifi_data_provider_common.cc
parentdbb2416d77c8794278aa9e5c396addffee3025d0 (diff)
downloadchromium_src-9ab5d4be70887e65a0dabce81dbff81fe9588116.zip
chromium_src-9ab5d4be70887e65a0dabce81dbff81fe9588116.tar.gz
chromium_src-9ab5d4be70887e65a0dabce81dbff81fe9588116.tar.bz2
replace wstring printf in geolocation as wstring is deprecated
BUG=23581 TEST= Review URL: https://chromiumcodereview.appspot.com/10534002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation/wifi_data_provider_common.cc')
-rw-r--r--content/browser/geolocation/wifi_data_provider_common.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/geolocation/wifi_data_provider_common.cc b/content/browser/geolocation/wifi_data_provider_common.cc
index 7156d12..e20b5ee 100644
--- a/content/browser/geolocation/wifi_data_provider_common.cc
+++ b/content/browser/geolocation/wifi_data_provider_common.cc
@@ -11,9 +11,9 @@
string16 MacAddressAsString16(const uint8 mac_as_int[6]) {
// mac_as_int is big-endian. Write in byte chunks.
// Format is XX-XX-XX-XX-XX-XX.
- static const wchar_t* const kMacFormatString =
- L"%02x-%02x-%02x-%02x-%02x-%02x";
- return WideToUTF16(base::StringPrintf(kMacFormatString,
+ static const char* const kMacFormatString =
+ "%02x-%02x-%02x-%02x-%02x-%02x";
+ return ASCIIToUTF16(base::StringPrintf(kMacFormatString,
mac_as_int[0],
mac_as_int[1],
mac_as_int[2],