Index: third_party/WebKit/Source/bindings/core/v8/SourceLocation.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.h b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.h |
index d29eb1f04f512d0197fc64aaa8f72f6120179529..0890401f4f57451fa226f5176a7a3dae9f3cae52 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.h |
@@ -25,6 +25,8 @@ public: |
// Shortcut when location is unknown. Tries to capture call stack or parsing location if available. |
static PassOwnPtr<SourceLocation> capture(ExecutionContext* = nullptr); |
+ static PassOwnPtr<SourceLocation> fromMessage(v8::Isolate*, v8::Local<v8::Message>, ExecutionContext*); |
+ |
static PassOwnPtr<SourceLocation> create(const String& url, unsigned lineNumber, unsigned columnNumber, std::unique_ptr<V8StackTrace>, int scriptId = 0); |
~SourceLocation(); |