Index: extensions/common/stack_frame_unittest.cc |
diff --git a/extensions/common/stack_frame_unittest.cc b/extensions/common/stack_frame_unittest.cc |
index 51f886774e596b73b2b1d4d8c320d271e03e8ca0..2fba51b9211f5f57e7b3705b4d101e2185c434c2 100644 |
--- a/extensions/common/stack_frame_unittest.cc |
+++ b/extensions/common/stack_frame_unittest.cc |
@@ -6,8 +6,9 @@ |
#include <stddef.h> |
+#include <memory> |
+ |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "base/strings/utf_string_conversions.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -24,7 +25,7 @@ void AssertStackFrameValid(const std::string& text, |
const std::string& source, |
const std::string& function) { |
base::string16 utf16_text = base::UTF8ToUTF16(text); |
- scoped_ptr<StackFrame> frame = StackFrame::CreateFromText(utf16_text); |
+ std::unique_ptr<StackFrame> frame = StackFrame::CreateFromText(utf16_text); |
ASSERT_TRUE(frame.get()) << "Failed to create frame from '" << text << "'"; |
EXPECT_EQ(line, frame->line_number); |
@@ -35,7 +36,7 @@ void AssertStackFrameValid(const std::string& text, |
void AssertStackFrameInvalid(const std::string& text) { |
base::string16 utf16_text = base::UTF8ToUTF16(text); |
- scoped_ptr<StackFrame> frame = StackFrame::CreateFromText(utf16_text); |
+ std::unique_ptr<StackFrame> frame = StackFrame::CreateFromText(utf16_text); |
ASSERT_FALSE(frame.get()) << "Errantly created frame from '" << text << "'"; |
} |