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

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

Issue 1997293002: Introduce SourceLocation to be used for console messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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
Index: third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp
index 12ac6517448d8eee7cf0cf67bf17c3b95bd9f01b..e00c482e488e53cd39da2feccdad6b0eaa8d6d9c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp
@@ -129,4 +129,10 @@ String ScriptCallStack::toString() const
return m_stackTrace->toString();
}
+PassOwnPtr<V8StackTrace> ScriptCallStack::copyStackTrace() const
+{
+ return m_stackTrace ? m_stackTrace->clone() : nullptr;
+}
+
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698