Commit adbe6770 authored by thakis@chromium.org's avatar thakis@chromium.org

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
parent 516126f0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment