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

Unified Diff: extensions/common/stack_frame.h

Issue 1908953003: Convert //extensions/{common,shell} from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? Created 4 years, 8 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
« no previous file with comments | « extensions/common/permissions/usb_device_permission_data.cc ('k') | extensions/common/stack_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/stack_frame.h
diff --git a/extensions/common/stack_frame.h b/extensions/common/stack_frame.h
index a55b8d82863a824957fb6d39a51f441d92e221e6..96b21fa5ad5f135aabb909ee400d3de0670b4b23 100644
--- a/extensions/common/stack_frame.h
+++ b/extensions/common/stack_frame.h
@@ -7,9 +7,9 @@
#include <stddef.h>
+#include <memory>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
namespace extensions {
@@ -24,7 +24,7 @@ struct StackFrame {
~StackFrame();
// Construct a stack frame from a reported plain-text frame.
- static scoped_ptr<StackFrame> CreateFromText(
+ static std::unique_ptr<StackFrame> CreateFromText(
const base::string16& frame_text);
bool operator==(const StackFrame& rhs) const;
« no previous file with comments | « extensions/common/permissions/usb_device_permission_data.cc ('k') | extensions/common/stack_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698