| 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 93c918f2b5a9077643f32993f4f661f63bea4bcc..74cd28273101fc225ffce3a551613ee831454063 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.h
|
| @@ -28,11 +28,10 @@ public:
|
| 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);
|
| - static PassOwnPtr<SourceLocation> createFromNonEmptyV8StackTrace(std::unique_ptr<V8StackTrace>, int scriptId = 0);
|
| ~SourceLocation();
|
|
|
| bool isEmpty() const { return m_url.isNull(); }
|
| - String url() const { return m_url; }
|
| + const String& url() const { return m_url; }
|
| unsigned lineNumber() const { return m_lineNumber; }
|
| unsigned columnNumber() const { return m_columnNumber; }
|
| std::unique_ptr<V8StackTrace> takeStackTrace() { return std::move(m_stackTrace); }
|
| @@ -42,6 +41,7 @@ public:
|
|
|
| private:
|
| SourceLocation(const String& url, unsigned lineNumber, unsigned columnNumber, std::unique_ptr<V8StackTrace>, int scriptId);
|
| + static PassOwnPtr<SourceLocation> createFromNonEmptyV8StackTrace(std::unique_ptr<V8StackTrace>, int scriptId);
|
|
|
| String m_url;
|
| unsigned m_lineNumber;
|
|
|