Index: chrome/common/mac/objc_zombie.mm |
diff --git a/chrome/common/mac/objc_zombie.mm b/chrome/common/mac/objc_zombie.mm |
index 5ef00a67cf9bb43092f7402b409e72109a9946fb..98f73c711e15dd53a73de332c67505ad1c6bedf6 100644 |
--- a/chrome/common/mac/objc_zombie.mm |
+++ b/chrome/common/mac/objc_zombie.mm |
@@ -12,7 +12,6 @@ |
#import <objc/objc-class.h> |
#include <algorithm> |
-#include <iostream> |
#include "base/debug/stack_trace.h" |
#include "base/lazy_instance.h" |
@@ -253,8 +252,7 @@ BOOL GetZombieRecord(id object, ZombieRecord* record) { |
// Dump the symbols. This is pulled out into a function to make it |
// easy to use DCHECK to dump only in debug builds. |
BOOL DumpDeallocTrace(const void* const* array, int size) { |
- // |cerr| because that's where PrintBacktrace() sends output. |
- std::cerr << "Backtrace from -dealloc:\n"; |
+ fprintf(stderr, "Backtrace from -dealloc:\n"); |
base::debug::StackTrace(array, size).PrintBacktrace(); |
return YES; |