Index: third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp |
index 6a03e9e218f54ef407c4923065f588b23958f13e..fb4d6f3392febe0a30a643f1fa03a903da41c549 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp |
@@ -99,4 +99,9 @@ void SourceLocation::toTracedValue(TracedValue* value, const char* name) const |
value->endArray(); |
} |
+PassOwnPtr<SourceLocation> SourceLocation::clone() const |
+{ |
+ return adoptPtr(new SourceLocation(m_url, m_lineNumber, m_columnNumber, m_stackTrace ? m_stackTrace->clone() : nullptr, m_scriptId)); |
+} |
+ |
} // namespace blink |