summaryrefslogtreecommitdiffstats
path: root/sync/tools/sync_client.cc
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-29 01:59:38 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-29 01:59:38 +0000
commit5ddbf1ce50b4686179a5c248112c2dca1f46f301 (patch)
treed4ac4a688930d4c23ff915c7a92dc260ca34ddf5 /sync/tools/sync_client.cc
parent692ffe872c7b16bb2b55f48834fb90e14ab39644 (diff)
downloadchromium_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 'sync/tools/sync_client.cc')
-rw-r--r--sync/tools/sync_client.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc
index e382546..b677531 100644
--- a/sync/tools/sync_client.cc
+++ b/sync/tools/sync_client.cc
@@ -186,8 +186,7 @@ class LoggingJsEventHandler
};
void LogUnrecoverableErrorContext() {
- base::debug::StackTrace stack_trace;
- stack_trace.PrintBacktrace();
+ base::debug::StackTrace().Print();
}
notifier::NotifierOptions ParseNotifierOptions(