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

Unified Diff: base/debug/stack_trace_win.cc

Issue 5685007: Rename all methods accessing Singleton<T> as GetInstance(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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 | « app/surface/io_surface_support_mac.cc ('k') | ceee/common/process_utils_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/stack_trace_win.cc
diff --git a/base/debug/stack_trace_win.cc b/base/debug/stack_trace_win.cc
index 653d2341c625cb98d9fae82f7946813caceb150b..6f4ad0262d26873915c9d5b099d7a82e203dcbd0 100644
--- a/base/debug/stack_trace_win.cc
+++ b/base/debug/stack_trace_win.cc
@@ -36,7 +36,7 @@ namespace {
// just ignore it.
class SymbolContext {
public:
- static SymbolContext* Get() {
+ static SymbolContext* GetInstance() {
// We use a leaky singleton because code may call this during process
// termination.
return
@@ -179,7 +179,7 @@ void StackTrace::PrintBacktrace() {
}
void StackTrace::OutputToStream(std::ostream* os) {
- SymbolContext* context = SymbolContext::Get();
+ SymbolContext* context = SymbolContext::GetInstance();
DWORD error = context->init_error();
if (error != ERROR_SUCCESS) {
(*os) << "Error initializing symbols (" << error
« no previous file with comments | « app/surface/io_surface_support_mac.cc ('k') | ceee/common/process_utils_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698