summaryrefslogtreecommitdiffstats
path: root/chrome/common/mac
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-29 17:33:00 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-29 17:33:00 +0000
commitadbe6770f04ace84fb3d51a78f16c4b97854c58c (patch)
treeb7d9ef1983a39f6c237edb410420421d953a5b2b /chrome/common/mac
parent516126f099666df7b6eb9882cf51da05a6ab8edd (diff)
downloadchromium_src-adbe6770f04ace84fb3d51a78f16c4b97854c58c.zip
chromium_src-adbe6770f04ace84fb3d51a78f16c4b97854c58c.tar.gz
chromium_src-adbe6770f04ace84fb3d51a78f16c4b97854c58c.tar.bz2
mac: Remove one static initializer.
BUG=94794 Review URL: https://chromiumcodereview.appspot.com/10834059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/mac')
-rw-r--r--chrome/common/mac/objc_zombie.mm4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/common/mac/objc_zombie.mm b/chrome/common/mac/objc_zombie.mm
index 5ef00a6..98f73c7 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;