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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 ASSERT_ARG(inspectorClient, inspectorClient); | 120 ASSERT_ARG(inspectorClient, inspectorClient); |
121 m_injectedScriptManager->injectedScriptHost()->init(m_instrumentingAgents.ge
t(), pageScriptDebugServer); | 121 m_injectedScriptManager->injectedScriptHost()->init(m_instrumentingAgents.ge
t(), pageScriptDebugServer); |
122 } | 122 } |
123 | 123 |
124 InspectorController::~InspectorController() | 124 InspectorController::~InspectorController() |
125 { | 125 { |
126 } | 126 } |
127 | 127 |
128 void InspectorController::trace(Visitor* visitor) | 128 void InspectorController::trace(Visitor* visitor) |
129 { | 129 { |
| 130 visitor->trace(m_instrumentingAgents); |
130 visitor->trace(m_domAgent); | 131 visitor->trace(m_domAgent); |
131 visitor->trace(m_pageAgent); | 132 visitor->trace(m_pageAgent); |
132 visitor->trace(m_timelineAgent); | 133 visitor->trace(m_timelineAgent); |
133 visitor->trace(m_layerTreeAgent); | 134 visitor->trace(m_layerTreeAgent); |
134 visitor->trace(m_tracingAgent); | 135 visitor->trace(m_tracingAgent); |
135 visitor->trace(m_agents); | 136 visitor->trace(m_agents); |
136 #if ENABLE(OILPAN) | 137 #if ENABLE(OILPAN) |
137 visitor->trace(m_moduleAgents); | 138 visitor->trace(m_moduleAgents); |
138 #endif | 139 #endif |
139 } | 140 } |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 m_layerTreeAgent->willAddPageOverlay(layer); | 482 m_layerTreeAgent->willAddPageOverlay(layer); |
482 } | 483 } |
483 | 484 |
484 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) | 485 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) |
485 { | 486 { |
486 if (m_layerTreeAgent) | 487 if (m_layerTreeAgent) |
487 m_layerTreeAgent->didRemovePageOverlay(layer); | 488 m_layerTreeAgent->didRemovePageOverlay(layer); |
488 } | 489 } |
489 | 490 |
490 } // namespace WebCore | 491 } // namespace WebCore |
OLD | NEW |