| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 6 * rights reserved. | 6 * rights reserved. |
| 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * | 10 * |
| (...skipping 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1864 | 1864 |
| 1865 if (const EventTargetData* event_target_data = this->GetEventTargetData()) { | 1865 if (const EventTargetData* event_target_data = this->GetEventTargetData()) { |
| 1866 const EventListenerMap& listener_map = | 1866 const EventListenerMap& listener_map = |
| 1867 event_target_data->event_listener_map; | 1867 event_target_data->event_listener_map; |
| 1868 if (!listener_map.IsEmpty()) { | 1868 if (!listener_map.IsEmpty()) { |
| 1869 for (const auto& type : listener_map.EventTypes()) | 1869 for (const auto& type : listener_map.EventTypes()) |
| 1870 GetDocument().AddListenerTypeIfNeeded(type); | 1870 GetDocument().AddListenerTypeIfNeeded(type); |
| 1871 } | 1871 } |
| 1872 } | 1872 } |
| 1873 | 1873 |
| 1874 old_document.Markers().RemoveMarkers(this); | 1874 old_document.Markers().RemoveMarkersForNode(this); |
| 1875 if (GetDocument().GetPage() && | 1875 if (GetDocument().GetPage() && |
| 1876 GetDocument().GetPage() != old_document.GetPage()) { | 1876 GetDocument().GetPage() != old_document.GetPage()) { |
| 1877 GetDocument().GetPage()->GetEventHandlerRegistry().DidMoveIntoPage(*this); | 1877 GetDocument().GetPage()->GetEventHandlerRegistry().DidMoveIntoPage(*this); |
| 1878 } | 1878 } |
| 1879 | 1879 |
| 1880 if (const HeapVector<TraceWrapperMember<MutationObserverRegistration>>* | 1880 if (const HeapVector<TraceWrapperMember<MutationObserverRegistration>>* |
| 1881 registry = MutationObserverRegistry()) { | 1881 registry = MutationObserverRegistry()) { |
| 1882 for (const auto& registration : *registry) { | 1882 for (const auto& registration : *registry) { |
| 1883 GetDocument().AddMutationObserverTypes(registration->MutationTypes()); | 1883 GetDocument().AddMutationObserverTypes(registration->MutationTypes()); |
| 1884 } | 1884 } |
| (...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2567 if (node) { | 2567 if (node) { |
| 2568 std::stringstream stream; | 2568 std::stringstream stream; |
| 2569 node->PrintNodePathTo(stream); | 2569 node->PrintNodePathTo(stream); |
| 2570 LOG(INFO) << stream.str(); | 2570 LOG(INFO) << stream.str(); |
| 2571 } else { | 2571 } else { |
| 2572 LOG(INFO) << "Cannot showNodePath for <null>"; | 2572 LOG(INFO) << "Cannot showNodePath for <null>"; |
| 2573 } | 2573 } |
| 2574 } | 2574 } |
| 2575 | 2575 |
| 2576 #endif | 2576 #endif |
| OLD | NEW |