OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * Copyright (C) 2009 Joseph Pecoraro | 4 * Copyright (C) 2009 Joseph Pecoraro |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 2083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2094 { | 2094 { |
2095 // FIXME: Oilpan: .get will be unnecessary if m_document is a Member<>. | 2095 // FIXME: Oilpan: .get will be unnecessary if m_document is a Member<>. |
2096 if (!m_documentNodeToIdMap->contains(m_document.get())) { | 2096 if (!m_documentNodeToIdMap->contains(m_document.get())) { |
2097 RefPtr<TypeBuilder::DOM::Node> root; | 2097 RefPtr<TypeBuilder::DOM::Node> root; |
2098 getDocument(errorString, root); | 2098 getDocument(errorString, root); |
2099 return errorString->isEmpty(); | 2099 return errorString->isEmpty(); |
2100 } | 2100 } |
2101 return true; | 2101 return true; |
2102 } | 2102 } |
2103 | 2103 |
| 2104 void InspectorDOMAgent::trace(Visitor* visitor) |
| 2105 { |
| 2106 visitor->trace(m_pageAgent); |
| 2107 #if ENABLE(OILPAN) |
| 2108 visitor->trace(m_documentNodeToIdMap); |
| 2109 visitor->trace(m_danglingNodeToIdMaps); |
| 2110 visitor->trace(m_idToNode); |
| 2111 #endif |
| 2112 visitor->trace(m_idToNodesMap); |
| 2113 visitor->trace(m_document); |
| 2114 visitor->trace(m_searchResults); |
| 2115 visitor->trace(m_history); |
| 2116 visitor->trace(m_domEditor); |
| 2117 InspectorBaseAgent::trace(visitor); |
| 2118 } |
| 2119 |
2104 } // namespace WebCore | 2120 } // namespace WebCore |
2105 | 2121 |
OLD | NEW |