OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple 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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 | 32 |
33 #include "InspectorLayerTreeAgent.h" | 33 #include "InspectorLayerTreeAgent.h" |
34 | 34 |
35 #include "IdentifiersFactory.h" | 35 #include "IdentifiersFactory.h" |
36 #include "InspectorDOMAgent.h" | 36 #include "InspectorDOMAgent.h" |
37 #include "InspectorFrontend.h" | 37 #include "InspectorFrontend.h" |
38 #include "InspectorState.h" | 38 #include "InspectorState.h" |
39 #include "InstrumentingAgents.h" | 39 #include "InstrumentingAgents.h" |
40 #include "PseudoElement.h" | 40 #include "core/dom/PseudoElement.h" |
41 #include "core/platform/graphics/IntRect.h" | 41 #include "core/platform/graphics/IntRect.h" |
42 #include "core/rendering/RenderLayer.h" | 42 #include "core/rendering/RenderLayer.h" |
43 #include "core/rendering/RenderLayerBacking.h" | 43 #include "core/rendering/RenderLayerBacking.h" |
44 #include "core/rendering/RenderLayerCompositor.h" | 44 #include "core/rendering/RenderLayerCompositor.h" |
45 #include "core/rendering/RenderView.h" | 45 #include "core/rendering/RenderView.h" |
46 | 46 |
47 namespace WebCore { | 47 namespace WebCore { |
48 | 48 |
49 namespace LayerTreeAgentState { | 49 namespace LayerTreeAgentState { |
50 static const char layerTreeAgentEnabled[] = "layerTreeAgentEnabled"; | 50 static const char layerTreeAgentEnabled[] = "layerTreeAgentEnabled"; |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 void InspectorLayerTreeAgent::unbindPseudoElement(PseudoElement* pseudoElement) | 342 void InspectorLayerTreeAgent::unbindPseudoElement(PseudoElement* pseudoElement) |
343 { | 343 { |
344 HashMap<PseudoElement*, String>::iterator iterator = m_pseudoElementToIdMap.
find(pseudoElement); | 344 HashMap<PseudoElement*, String>::iterator iterator = m_pseudoElementToIdMap.
find(pseudoElement); |
345 if (iterator == m_pseudoElementToIdMap.end()) | 345 if (iterator == m_pseudoElementToIdMap.end()) |
346 return; | 346 return; |
347 m_idToPseudoElement.remove(iterator->value); | 347 m_idToPseudoElement.remove(iterator->value); |
348 m_pseudoElementToIdMap.remove(iterator); | 348 m_pseudoElementToIdMap.remove(iterator); |
349 } | 349 } |
350 | 350 |
351 } // namespace WebCore | 351 } // namespace WebCore |
OLD | NEW |