Index: chrome_frame/metrics_service.cc |
diff --git a/chrome_frame/metrics_service.cc b/chrome_frame/metrics_service.cc |
index 73c93b2eacdaf3c9c3c5582c5df2ccdebd924f7c..cc5e38de01043a9def841245bb6f72efd0d48a9c 100644 |
--- a/chrome_frame/metrics_service.cc |
+++ b/chrome_frame/metrics_service.cc |
@@ -180,12 +180,13 @@ class ChromeFrameMetricsDataUploader : public BSCBImpl { |
LPWSTR* additional_headers) { |
std::string new_headers; |
new_headers = |
- StringPrintf("Content-Length: %s\r\n" |
- "Content-Type: %s\r\n" |
- "%s\r\n", |
- base::Int64ToString(upload_data_size_).c_str(), |
- mime_type_.c_str(), |
- http_utils::GetDefaultUserAgentHeaderWithCFTag().c_str()); |
+ base::StringPrintf( |
+ "Content-Length: %s\r\n" |
+ "Content-Type: %s\r\n" |
+ "%s\r\n", |
+ base::Int64ToString(upload_data_size_).c_str(), |
+ mime_type_.c_str(), |
+ http_utils::GetDefaultUserAgentHeaderWithCFTag().c_str()); |
*additional_headers = reinterpret_cast<wchar_t*>( |
CoTaskMemAlloc((new_headers.size() + 1) * sizeof(wchar_t))); |