summaryrefslogtreecommitdiffstats
path: root/courgette/memory_monitor.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-15 12:11:11 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-15 12:11:11 +0000
commita77fa2dc9cb9a10a31688a1bb24a9101194d51af (patch)
tree9be37414818cd5be282ec26ee0d0f9b8c186ea29 /courgette/memory_monitor.cc
parent055d7f268366be957e83bff0dfb2a7f5fcf3f3a7 (diff)
downloadchromium_src-a77fa2dc9cb9a10a31688a1bb24a9101194d51af.zip
chromium_src-a77fa2dc9cb9a10a31688a1bb24a9101194d51af.tar.gz
chromium_src-a77fa2dc9cb9a10a31688a1bb24a9101194d51af.tar.bz2
base: Get rid of 'using' declaration of StringAppendF.
Update the callers to append base:: in the calls to StringAppendF. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/4974001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/memory_monitor.cc')
-rw-r--r--courgette/memory_monitor.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/courgette/memory_monitor.cc b/courgette/memory_monitor.cc
index 26ce81f..dba8a88 100644
--- a/courgette/memory_monitor.cc
+++ b/courgette/memory_monitor.cc
@@ -47,8 +47,8 @@ struct H {
}
if (!print) return;
std::string o;
- StringAppendF(&o, "%u:", tick_ + d_tick_);
- StringAppendF(&o, " (%c%s)", sign, fmt(w).c_str());
+ base::StringAppendF(&o, "%u:", tick_ + d_tick_);
+ base::StringAppendF(&o, " (%c%s)", sign, fmt(w).c_str());
size_t sum = 0;
for (M::iterator p = c_.begin(); p != c_.end(); ++p) {
size_t s = p->first;
@@ -56,13 +56,13 @@ struct H {
if (n) {
if (s*n >= 64*1024)
if (n == 1)
- StringAppendF(&o, " %s", fmt(s).c_str());
+ base::StringAppendF(&o, " %s", fmt(s).c_str());
else
- StringAppendF(&o, " %s*%u", fmt(s).c_str(), n);
+ base::StringAppendF(&o, " %s*%u", fmt(s).c_str(), n);
sum += s*n;
}
}
- StringAppendF(&o, " = %s", fmt(sum).c_str());
+ base::StringAppendF(&o, " = %s", fmt(sum).c_str());
LOG(INFO) << o;
//printf("%s\n", o.c_str());
if (sum > 200*1024*1024) {