OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "config.h" | 5 #include "config.h" |
6 #include "core/inspector/InspectorTraceEvents.h" | 6 #include "core/inspector/InspectorTraceEvents.h" |
7 | 7 |
8 #include "bindings/v8/ScriptCallStackFactory.h" | 8 #include "bindings/core/v8/ScriptCallStackFactory.h" |
9 #include "bindings/v8/ScriptGCEvent.h" | 9 #include "bindings/core/v8/ScriptGCEvent.h" |
10 #include "bindings/v8/ScriptSourceCode.h" | 10 #include "bindings/core/v8/ScriptSourceCode.h" |
11 #include "core/frame/FrameView.h" | 11 #include "core/frame/FrameView.h" |
12 #include "core/frame/LocalFrame.h" | 12 #include "core/frame/LocalFrame.h" |
13 #include "core/inspector/IdentifiersFactory.h" | 13 #include "core/inspector/IdentifiersFactory.h" |
14 #include "core/inspector/InspectorNodeIds.h" | 14 #include "core/inspector/InspectorNodeIds.h" |
15 #include "core/inspector/ScriptCallStack.h" | 15 #include "core/inspector/ScriptCallStack.h" |
16 #include "core/page/Page.h" | 16 #include "core/page/Page.h" |
17 #include "core/rendering/RenderImage.h" | 17 #include "core/rendering/RenderImage.h" |
18 #include "core/rendering/RenderObject.h" | 18 #include "core/rendering/RenderObject.h" |
19 #include "core/xml/XMLHttpRequest.h" | 19 #include "core/xml/XMLHttpRequest.h" |
20 #include "platform/JSONValues.h" | 20 #include "platform/JSONValues.h" |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 value.setDouble("jsHeapSizeUsed", static_cast<double>(usedHeapSize())); | 332 value.setDouble("jsHeapSizeUsed", static_cast<double>(usedHeapSize())); |
333 return value.finish(); | 333 return value.finish(); |
334 } | 334 } |
335 | 335 |
336 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorCallStackEvent::curren
tCallStack() | 336 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorCallStackEvent::curren
tCallStack() |
337 { | 337 { |
338 return adoptRef(new JSCallStack(createScriptCallStack(ScriptCallStack::maxCa
llStackSizeToCapture, true))); | 338 return adoptRef(new JSCallStack(createScriptCallStack(ScriptCallStack::maxCa
llStackSizeToCapture, true))); |
339 } | 339 } |
340 | 340 |
341 } | 341 } |
OLD | NEW |