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

Unified Diff: content/renderer/media/media_stream_impl.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/renderer/media/media_stream_impl.cc
diff --git a/content/renderer/media/media_stream_impl.cc b/content/renderer/media/media_stream_impl.cc
index e89a9ac160a57afbcc05032d62a5b6e0fb13d3d5..c9a225d32cdc54568a3794c96e679f310c5122b7 100644
--- a/content/renderer/media/media_stream_impl.cc
+++ b/content/renderer/media/media_stream_impl.cc
@@ -84,9 +84,9 @@ void CreateWebKitSourceVector(
for (size_t i = 0; i < devices.size(); ++i) {
const char* track_type =
(type == WebKit::WebMediaStreamSource::TypeAudio) ? "a" : "v";
- std::string source_id = StringPrintf("%s%s%u", label.c_str(),
- track_type,
- static_cast<unsigned int>(i));
+ std::string source_id = base::StringPrintf("%s%s%u", label.c_str(),
+ track_type,
+ static_cast<unsigned int>(i));
webkit_sources[i].initialize(
UTF8ToUTF16(source_id),
type,

Powered by Google App Engine
This is Rietveld 408576698