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/ConsoleMessageStorage.h" | 6 #include "core/inspector/ConsoleMessageStorage.h" |
7 | 7 |
8 #include "core/frame/LocalDOMWindow.h" | 8 #include "core/frame/LocalDOMWindow.h" |
9 #include "core/inspector/ConsoleMessage.h" | 9 #include "core/inspector/ConsoleMessage.h" |
10 #include "core/inspector/InspectorConsoleInstrumentation.h" | 10 #include "core/inspector/InspectorConsoleInstrumentation.h" |
(...skipping 80 matching lines...) Loading... |
91 | 91 |
92 ExecutionContext* ConsoleMessageStorage::executionContext() const | 92 ExecutionContext* ConsoleMessageStorage::executionContext() const |
93 { | 93 { |
94 return m_frame ? m_frame->document() : m_context; | 94 return m_frame ? m_frame->document() : m_context; |
95 } | 95 } |
96 | 96 |
97 void ConsoleMessageStorage::trace(Visitor* visitor) | 97 void ConsoleMessageStorage::trace(Visitor* visitor) |
98 { | 98 { |
99 visitor->trace(m_messages); | 99 visitor->trace(m_messages); |
100 visitor->trace(m_context); | 100 visitor->trace(m_context); |
| 101 visitor->trace(m_frame); |
101 } | 102 } |
102 | 103 |
103 } // namespace blink | 104 } // namespace blink |
OLD | NEW |