| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 void WorkerInspectorController::discard() | 169 void WorkerInspectorController::discard() |
| 170 { | 170 { |
| 171 m_debuggerAgent->discard(); | 171 m_debuggerAgent->discard(); |
| 172 m_debuggerAgent = nullptr; | 172 m_debuggerAgent = nullptr; |
| 173 m_instrumentingAgents->reset(); | 173 m_instrumentingAgents->reset(); |
| 174 disconnectFrontend(); | 174 disconnectFrontend(); |
| 175 } | 175 } |
| 176 | 176 |
| 177 void WorkerInspectorController::trace(Visitor* visitor) | 177 void WorkerInspectorController::trace(Visitor* visitor) |
| 178 { | 178 { |
| 179 visitor->trace(m_instrumentingAgents); |
| 179 visitor->trace(m_agents); | 180 visitor->trace(m_agents); |
| 180 visitor->trace(m_debuggerAgent); | 181 visitor->trace(m_debuggerAgent); |
| 181 } | 182 } |
| 182 | 183 |
| 183 } | 184 } |
| OLD | NEW |