aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjessicag.feedback <jessicag.feedback@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-10-28 23:39:43 +0000
committerjessicag.feedback <jessicag.feedback@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-10-28 23:39:43 +0000
commit6689f24d1aaca909448f93e72f5917062253d1ad (patch)
tree74859bc14737ea5f6bf1c9badc75939000679137
parentincrease exception handler stack size for dumping thread (diff)
downloadbreakpad-6689f24d1aaca909448f93e72f5917062253d1ad.tar.xz
Switch to scoped_array instead of inappropriate scoped_ptr.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1225 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r--src/common/string_conversion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/string_conversion.cc b/src/common/string_conversion.cc
index 9b06e86b..9c0d623f 100644
--- a/src/common/string_conversion.cc
+++ b/src/common/string_conversion.cc
@@ -120,7 +120,7 @@ static inline uint16_t Swap(uint16_t value) {
string UTF16ToUTF8(const vector<uint16_t> &in, bool swap) {
const UTF16 *source_ptr = &in[0];
- scoped_ptr<uint16_t> source_buffer;
+ scoped_array<uint16_t> source_buffer;
// If we're to swap, we need to make a local copy and swap each byte pair
if (swap) {