| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "bindings/core/v8/SourceLocation.h" | 5 #include "bindings/core/v8/SourceLocation.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include "bindings/core/v8/V8Binding.h" | 8 #include "bindings/core/v8/V8BindingForCore.h" |
| 9 #include "bindings/core/v8/V8BindingMacros.h" | 9 #include "bindings/core/v8/V8BindingMacros.h" |
| 10 #include "bindings/core/v8/V8PerIsolateData.h" | 10 #include "bindings/core/v8/V8PerIsolateData.h" |
| 11 #include "core/dom/Document.h" | 11 #include "core/dom/Document.h" |
| 12 #include "core/dom/ExecutionContext.h" | 12 #include "core/dom/ExecutionContext.h" |
| 13 #include "core/dom/ScriptableDocumentParser.h" | 13 #include "core/dom/ScriptableDocumentParser.h" |
| 14 #include "core/html/HTMLFrameOwnerElement.h" | 14 #include "core/html/HTMLFrameOwnerElement.h" |
| 15 #include "core/inspector/ThreadDebugger.h" | 15 #include "core/inspector/ThreadDebugger.h" |
| 16 #include "core/inspector/V8InspectorString.h" | 16 #include "core/inspector/V8InspectorString.h" |
| 17 #include "platform/ScriptForbiddenScope.h" | 17 #include "platform/ScriptForbiddenScope.h" |
| 18 #include "platform/instrumentation/tracing/TracedValue.h" | 18 #include "platform/instrumentation/tracing/TracedValue.h" |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 return stack_trace_ ? stack_trace_->buildInspectorObject() : nullptr; | 198 return stack_trace_ ? stack_trace_->buildInspectorObject() : nullptr; |
| 199 } | 199 } |
| 200 | 200 |
| 201 String SourceLocation::ToString() const { | 201 String SourceLocation::ToString() const { |
| 202 if (!stack_trace_) | 202 if (!stack_trace_) |
| 203 return String(); | 203 return String(); |
| 204 return ToCoreString(stack_trace_->toString()); | 204 return ToCoreString(stack_trace_->toString()); |
| 205 } | 205 } |
| 206 | 206 |
| 207 } // namespace blink | 207 } // namespace blink |
| OLD | NEW |