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 032e2b2cb8b275d70b6bb58932fd12315903f878..17295a0adbb5b7c2998e670714cb3ce6a2d737ae 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp |
@@ -146,4 +146,9 @@ PassOwnPtr<SourceLocation> SourceLocation::clone() const |
return adoptPtr(new SourceLocation(m_url, m_lineNumber, m_columnNumber, m_stackTrace ? m_stackTrace->clone() : nullptr, m_scriptId)); |
} |
+PassOwnPtr<SourceLocation> SourceLocation::isolatedCopy() const |
+{ |
+ return adoptPtr(new SourceLocation(m_url.isolatedCopy(), m_lineNumber, m_columnNumber, m_stackTrace ? m_stackTrace->isolatedCopy() : nullptr, m_scriptId)); |
+} |
+ |
} // namespace blink |