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

Unified Diff: chrome/common/mac/objc_zombie.mm

Issue 10834059: mac: Remove one static initializer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7b07eea53a5c72514c79c6775bbaf34abbf6c2bd 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"
@@ -254,7 +253,7 @@ BOOL GetZombieRecord(id object, ZombieRecord* record) {
// 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.
Nico 2012/07/29 05:50:32 I deleted this comment. It's not true (anymore?),
- std::cerr << "Backtrace from -dealloc:\n";
+ fprintf(stderr, "Backtrace from -dealloc:\n");
base::debug::StackTrace(array, size).PrintBacktrace();
return YES;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698