diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 01:59:38 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 01:59:38 +0000 |
commit | 5ddbf1ce50b4686179a5c248112c2dca1f46f301 (patch) | |
tree | d4ac4a688930d4c23ff915c7a92dc260ca34ddf5 /chrome/common/mac | |
parent | 692ffe872c7b16bb2b55f48834fb90e14ab39644 (diff) | |
download | chromium_src-5ddbf1ce50b4686179a5c248112c2dca1f46f301.zip chromium_src-5ddbf1ce50b4686179a5c248112c2dca1f46f301.tar.gz chromium_src-5ddbf1ce50b4686179a5c248112c2dca1f46f301.tar.bz2 |
Rename base::debug::StackTrace::PrintBacktrace() to Print().
The inconsistency in naming and capitalization are annoying, and the name can
be shortened.
This is most commonly used like so:
base::debug::StackTrace().PrintBacktrace();
With this change, the usage becomes:
base::debug::StackTrace().Print();
TBR=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23155005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220163 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/mac')
-rw-r--r-- | chrome/common/mac/objc_zombie.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/mac/objc_zombie.mm b/chrome/common/mac/objc_zombie.mm index 8f64840..ab62cae 100644 --- a/chrome/common/mac/objc_zombie.mm +++ b/chrome/common/mac/objc_zombie.mm @@ -175,7 +175,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) { fprintf(stderr, "Backtrace from -dealloc:\n"); - base::debug::StackTrace(array, size).PrintBacktrace(); + base::debug::StackTrace(array, size).Print(); return YES; } |