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 1813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1824 return; | 1824 return; |
1825 | 1825 |
1826 // Re-push document once it is loaded. | 1826 // Re-push document once it is loaded. |
1827 discardFrontendBindings(); | 1827 discardFrontendBindings(); |
1828 if (enabled()) | 1828 if (enabled()) |
1829 m_frontend->documentUpdated(); | 1829 m_frontend->documentUpdated(); |
1830 } | 1830 } |
1831 | 1831 |
1832 void InspectorDOMAgent::invalidateFrameOwnerElement(LocalFrame* frame) | 1832 void InspectorDOMAgent::invalidateFrameOwnerElement(LocalFrame* frame) |
1833 { | 1833 { |
1834 Element* frameOwner = frame->document()->ownerElement(); | 1834 HTMLFrameOwnerElement* frameOwner = frame->document()->ownerElement(); |
1835 if (!frameOwner) | 1835 if (!frameOwner) |
1836 return; | 1836 return; |
1837 | 1837 |
1838 int frameOwnerId = m_documentNodeToIdMap->get(frameOwner); | 1838 int frameOwnerId = m_documentNodeToIdMap->get(frameOwner); |
1839 if (!frameOwnerId) | 1839 if (!frameOwnerId) |
1840 return; | 1840 return; |
1841 | 1841 |
1842 // Re-add frame owner element together with its new children. | 1842 // Re-add frame owner element together with its new children. |
1843 int parentId = m_documentNodeToIdMap->get(innerParentNode(frameOwner)); | 1843 int parentId = m_documentNodeToIdMap->get(innerParentNode(frameOwner)); |
1844 m_frontend->childNodeRemoved(parentId, frameOwnerId); | 1844 m_frontend->childNodeRemoved(parentId, frameOwnerId); |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2195 visitor->trace(m_searchResults); | 2195 visitor->trace(m_searchResults); |
2196 #endif | 2196 #endif |
2197 visitor->trace(m_history); | 2197 visitor->trace(m_history); |
2198 visitor->trace(m_domEditor); | 2198 visitor->trace(m_domEditor); |
2199 visitor->trace(m_listener); | 2199 visitor->trace(m_listener); |
2200 InspectorBaseAgent::trace(visitor); | 2200 InspectorBaseAgent::trace(visitor); |
2201 } | 2201 } |
2202 | 2202 |
2203 } // namespace blink | 2203 } // namespace blink |
2204 | 2204 |
OLD | NEW |