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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.h

Issue 2004313003: DevTools: migrate from OwnPtr to std::unique_ptr for inspector protocol classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 4 years, 7 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 | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.h b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.h
index f3ecb1c21b9cd42b72a0db9398f8d8d0a5011f59..49b5f80edb98c1a9c87188c56080200bc423911b 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.h
@@ -54,14 +54,14 @@ public:
unsigned topLineNumber() const;
unsigned topColumnNumber() const;
- PassOwnPtr<protocol::Runtime::StackTrace> buildInspectorObject() const;
+ std::unique_ptr<protocol::Runtime::StackTrace> buildInspectorObject() const;
void toTracedValue(TracedValue*, const char* name) const;
String toString() const;
- PassOwnPtr<V8StackTrace> copyStackTrace() const;
+ std::unique_ptr<V8StackTrace> copyStackTrace() const;
private:
- explicit ScriptCallStack(PassOwnPtr<V8StackTrace>);
- OwnPtr<V8StackTrace> m_stackTrace;
+ explicit ScriptCallStack(std::unique_ptr<V8StackTrace>);
+ std::unique_ptr<V8StackTrace> m_stackTrace;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698