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

Unified Diff: third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc

Issue 9667026: Revert 126020 - Experiment for updating the tcmalloc chromium branch to r144 (gperftools 2.0). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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: third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc
===================================================================
--- third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc (revision 126022)
+++ third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc (working copy)
@@ -41,7 +41,7 @@
#include <unistd.h> // for fork()
#endif
#include <sys/wait.h> // for wait()
-#include "gperftools/profiler.h"
+#include "google/profiler.h"
#include "base/simple_mutex.h"
#include "tests/testutil.h"
@@ -61,7 +61,7 @@
for (i = 0; i < g_iters; ++i ) {
result ^= i;
}
- snprintf(b, sizeof(b), "other: %d", result); // get some libc action
+ snprintf(b, sizeof(b), "%d", result); // get some libc action
}
#endif
}
@@ -74,7 +74,7 @@
for (i = 0; i < g_iters; ++i ) {
result ^= i;
}
- snprintf(b, sizeof(b), "same: %d", result); // get some libc action
+ snprintf(b, sizeof(b), "%d", result); // get some libc action
}
}

Powered by Google App Engine
This is Rietveld 408576698