OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 { | 106 { |
107 #if !ENABLE(OILPAN) | 107 #if !ENABLE(OILPAN) |
108 ASSERT(!m_instrumentingAgents->inspectorDOMDebuggerAgent()); | 108 ASSERT(!m_instrumentingAgents->inspectorDOMDebuggerAgent()); |
109 #endif | 109 #endif |
110 } | 110 } |
111 | 111 |
112 DEFINE_TRACE(InspectorDOMDebuggerAgent) | 112 DEFINE_TRACE(InspectorDOMDebuggerAgent) |
113 { | 113 { |
114 visitor->trace(m_injectedScriptManager); | 114 visitor->trace(m_injectedScriptManager); |
115 visitor->trace(m_domAgent); | 115 visitor->trace(m_domAgent); |
116 visitor->trace(m_debuggerAgent); | |
117 #if ENABLE(OILPAN) | 116 #if ENABLE(OILPAN) |
118 visitor->trace(m_domBreakpoints); | 117 visitor->trace(m_domBreakpoints); |
119 #endif | 118 #endif |
120 InspectorBaseAgent::trace(visitor); | 119 InspectorBaseAgent::trace(visitor); |
121 } | 120 } |
122 | 121 |
123 void InspectorDOMDebuggerAgent::disable(ErrorString*) | 122 void InspectorDOMDebuggerAgent::disable(ErrorString*) |
124 { | 123 { |
125 setEnabled(false); | 124 setEnabled(false); |
126 m_domBreakpoints.clear(); | 125 m_domBreakpoints.clear(); |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 m_instrumentingAgents->setInspectorDOMDebuggerAgent(nullptr); | 677 m_instrumentingAgents->setInspectorDOMDebuggerAgent(nullptr); |
679 } | 678 } |
680 } | 679 } |
681 | 680 |
682 void InspectorDOMDebuggerAgent::didCommitLoadForLocalFrame(LocalFrame*) | 681 void InspectorDOMDebuggerAgent::didCommitLoadForLocalFrame(LocalFrame*) |
683 { | 682 { |
684 m_domBreakpoints.clear(); | 683 m_domBreakpoints.clear(); |
685 } | 684 } |
686 | 685 |
687 } // namespace blink | 686 } // namespace blink |
OLD | NEW |