summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 14:54:15 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 14:54:15 +0000
commitc866beca3a5d58dbf4cbfc46a335084e7bd304a1 (patch)
tree4d6e414f45db013790549488d4408841160fb0db /base
parentac6e94c893354e5fcfac3d9243600a7acddc5c86 (diff)
downloadchromium_src-c866beca3a5d58dbf4cbfc46a335084e7bd304a1.zip
chromium_src-c866beca3a5d58dbf4cbfc46a335084e7bd304a1.tar.gz
chromium_src-c866beca3a5d58dbf4cbfc46a335084e7bd304a1.tar.bz2
Revert debugging printf()s occasionally landed in r50350
TBR=tim Review URL: http://codereview.chromium.org/2818018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/third_party/dynamic_annotations/dynamic_annotations.c2
-rw-r--r--base/tools_sanity_unittest.cc1
2 files changed, 0 insertions, 3 deletions
diff --git a/base/third_party/dynamic_annotations/dynamic_annotations.c b/base/third_party/dynamic_annotations/dynamic_annotations.c
index b9cb58f..5cfadb9 100644
--- a/base/third_party/dynamic_annotations/dynamic_annotations.c
+++ b/base/third_party/dynamic_annotations/dynamic_annotations.c
@@ -123,13 +123,11 @@ void AnnotateFlushState(const char *file, int line){}
static int GetRunningOnValgrind(void) {
#ifdef RUNNING_ON_VALGRIND
- printf("RUNNING_ON_VALGRIND: %d\n", RUNNING_ON_VALGRIND);
if (RUNNING_ON_VALGRIND) return 1;
#endif
#ifndef _MSC_VER
char *running_on_valgrind_str = getenv("RUNNING_ON_VALGRIND");
- printf("env[RUNNING_ON_VALGRIND]=\"%s\"\n", running_on_valgrind_str);
if (running_on_valgrind_str) {
return strcmp(running_on_valgrind_str, "0") != 0;
}
diff --git a/base/tools_sanity_unittest.cc b/base/tools_sanity_unittest.cc
index 10f1a72..d4b27a5 100644
--- a/base/tools_sanity_unittest.cc
+++ b/base/tools_sanity_unittest.cc
@@ -75,7 +75,6 @@ TEST(ToolsSanityTest, AccessesToMallocMemory) {
// This test may corrupt memory if not run under Valgrind.
if (!RunningOnValgrind())
return;
- printf("HERE!\n");
char *foo = reinterpret_cast<char*>(malloc(10));
MakeSomeErrors(foo, 10);
free(foo);