| 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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 document_timing_(*this), | 575 document_timing_(*this), |
| 576 write_recursion_is_too_deep_(false), | 576 write_recursion_is_too_deep_(false), |
| 577 write_recursion_depth_(0), | 577 write_recursion_depth_(0), |
| 578 registration_context_(initializer.RegistrationContext(this)), | 578 registration_context_(initializer.RegistrationContext(this)), |
| 579 element_data_cache_clear_timer_( | 579 element_data_cache_clear_timer_( |
| 580 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, this), | 580 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, this), |
| 581 this, | 581 this, |
| 582 &Document::ElementDataCacheClearTimerFired), | 582 &Document::ElementDataCacheClearTimerFired), |
| 583 timeline_(DocumentTimeline::Create(this)), | 583 timeline_(DocumentTimeline::Create(this)), |
| 584 compositor_pending_animations_(new CompositorPendingAnimations(*this)), | 584 compositor_pending_animations_(new CompositorPendingAnimations(*this)), |
| 585 worklet_animation_controller_(new WorkletAnimationController), |
| 585 template_document_host_(nullptr), | 586 template_document_host_(nullptr), |
| 586 did_associate_form_controls_timer_( | 587 did_associate_form_controls_timer_( |
| 587 TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this), | 588 TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this), |
| 588 this, | 589 this, |
| 589 &Document::DidAssociateFormControlsTimerFired), | 590 &Document::DidAssociateFormControlsTimerFired), |
| 590 timers_(TaskRunnerHelper::Get(TaskType::kTimer, this)), | 591 timers_(TaskRunnerHelper::Get(TaskType::kTimer, this)), |
| 591 has_viewport_units_(false), | 592 has_viewport_units_(false), |
| 592 parser_sync_policy_(kAllowAsynchronousParsing), | 593 parser_sync_policy_(kAllowAsynchronousParsing), |
| 593 node_count_(0), | 594 node_count_(0), |
| 594 would_load_reason_(WouldLoadReason::kInvalid), | 595 would_load_reason_(WouldLoadReason::kInvalid), |
| (...skipping 6215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6810 visitor->Trace(custom_element_microtask_run_queue_); | 6811 visitor->Trace(custom_element_microtask_run_queue_); |
| 6811 visitor->Trace(element_data_cache_); | 6812 visitor->Trace(element_data_cache_); |
| 6812 visitor->Trace(use_elements_needing_update_); | 6813 visitor->Trace(use_elements_needing_update_); |
| 6813 visitor->Trace(timers_); | 6814 visitor->Trace(timers_); |
| 6814 visitor->Trace(template_document_); | 6815 visitor->Trace(template_document_); |
| 6815 visitor->Trace(template_document_host_); | 6816 visitor->Trace(template_document_host_); |
| 6816 visitor->Trace(user_action_elements_); | 6817 visitor->Trace(user_action_elements_); |
| 6817 visitor->Trace(svg_extensions_); | 6818 visitor->Trace(svg_extensions_); |
| 6818 visitor->Trace(timeline_); | 6819 visitor->Trace(timeline_); |
| 6819 visitor->Trace(compositor_pending_animations_); | 6820 visitor->Trace(compositor_pending_animations_); |
| 6821 visitor->Trace(worklet_animation_controller_); |
| 6820 visitor->Trace(context_document_); | 6822 visitor->Trace(context_document_); |
| 6821 visitor->Trace(canvas_font_cache_); | 6823 visitor->Trace(canvas_font_cache_); |
| 6822 visitor->Trace(intersection_observer_controller_); | 6824 visitor->Trace(intersection_observer_controller_); |
| 6823 visitor->Trace(snap_coordinator_); | 6825 visitor->Trace(snap_coordinator_); |
| 6824 visitor->Trace(resize_observer_controller_); | 6826 visitor->Trace(resize_observer_controller_); |
| 6825 visitor->Trace(property_registry_); | 6827 visitor->Trace(property_registry_); |
| 6826 visitor->Trace(network_state_observer_); | 6828 visitor->Trace(network_state_observer_); |
| 6827 Supplementable<Document>::Trace(visitor); | 6829 Supplementable<Document>::Trace(visitor); |
| 6828 TreeScope::Trace(visitor); | 6830 TreeScope::Trace(visitor); |
| 6829 ContainerNode::Trace(visitor); | 6831 ContainerNode::Trace(visitor); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6874 } | 6876 } |
| 6875 | 6877 |
| 6876 void showLiveDocumentInstances() { | 6878 void showLiveDocumentInstances() { |
| 6877 WeakDocumentSet& set = liveDocumentSet(); | 6879 WeakDocumentSet& set = liveDocumentSet(); |
| 6878 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6880 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 6879 for (blink::Document* document : set) | 6881 for (blink::Document* document : set) |
| 6880 fprintf(stderr, "- Document %p URL: %s\n", document, | 6882 fprintf(stderr, "- Document %p URL: %s\n", document, |
| 6881 document->Url().GetString().Utf8().data()); | 6883 document->Url().GetString().Utf8().data()); |
| 6882 } | 6884 } |
| 6883 #endif | 6885 #endif |
| OLD | NEW |