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

Unified Diff: base/debug_util.cc

Issue 201050: Print stack trace on exception in unit tests on Windows.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
Index: base/debug_util.cc
===================================================================
--- base/debug_util.cc (revision 25620)
+++ base/debug_util.cc (working copy)
@@ -19,8 +19,8 @@
}
const void *const *StackTrace::Addresses(size_t* count) {
- *count = trace_.size();
- if (trace_.size())
- return &trace_[0];
+ *count = count_;
+ if (count_)
+ return trace_;
return NULL;
}
« no previous file with comments | « base/debug_util.h ('k') | base/debug_util_posix.cc » ('j') | base/debug_util_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698