aboutsummaryrefslogtreecommitdiff
path: root/src/processor/stackwalker_unittest_utils.h
diff options
context:
space:
mode:
authorIvan Penkov <ivanpe@chromium.org>2016-11-07 19:37:19 -0500
committerIvan Penkov <ivanpe@chromium.org>2016-11-08 01:29:06 +0000
commit2f6cb866d615d6240a18c7535c994c6bb93b1ba5 (patch)
tree7efbca7102660952da22d328885af727cb432c39 /src/processor/stackwalker_unittest_utils.h
parentBasic handling of CIE version 4 in dwarf reading (diff)
downloadbreakpad-2f6cb866d615d6240a18c7535c994c6bb93b1ba5.tar.xz
Allow compiling the google-breakpad code using a global ::string class instead of std::string.
For more details take a look at common/using_std_string.h BUG= Change-Id: Ifebfc57f691ef3a3bef8cfed7106c567985edffc Reviewed-on: https://chromium-review.googlesource.com/399738 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/processor/stackwalker_unittest_utils.h')
-rw-r--r--src/processor/stackwalker_unittest_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/processor/stackwalker_unittest_utils.h b/src/processor/stackwalker_unittest_utils.h
index ee22a8fe..1523b247 100644
--- a/src/processor/stackwalker_unittest_utils.h
+++ b/src/processor/stackwalker_unittest_utils.h
@@ -197,7 +197,7 @@ class MockSymbolSupplier: public google_breakpad::SymbolSupplier {
// Copies the passed string contents into a newly allocated buffer.
// The newly allocated buffer will be freed during destruction.
- char* CopySymbolDataAndOwnTheCopy(const std::string &info,
+ char* CopySymbolDataAndOwnTheCopy(const string &info,
size_t *symbol_data_size) {
*symbol_data_size = info.size() + 1;
char *symbol_data = new char[*symbol_data_size];