| 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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 document_timing_(*this), | 576 document_timing_(*this), |
| 577 write_recursion_is_too_deep_(false), | 577 write_recursion_is_too_deep_(false), |
| 578 write_recursion_depth_(0), | 578 write_recursion_depth_(0), |
| 579 registration_context_(initializer.RegistrationContext(this)), | 579 registration_context_(initializer.RegistrationContext(this)), |
| 580 element_data_cache_clear_timer_( | 580 element_data_cache_clear_timer_( |
| 581 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, this), | 581 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, this), |
| 582 this, | 582 this, |
| 583 &Document::ElementDataCacheClearTimerFired), | 583 &Document::ElementDataCacheClearTimerFired), |
| 584 timeline_(DocumentTimeline::Create(this)), | 584 timeline_(DocumentTimeline::Create(this)), |
| 585 compositor_pending_animations_(new CompositorPendingAnimations(*this)), | 585 compositor_pending_animations_(new CompositorPendingAnimations(*this)), |
| 586 worklet_animation_controller_(new WorkletAnimationController), |
| 586 template_document_host_(nullptr), | 587 template_document_host_(nullptr), |
| 587 did_associate_form_controls_timer_( | 588 did_associate_form_controls_timer_( |
| 588 TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this), | 589 TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this), |
| 589 this, | 590 this, |
| 590 &Document::DidAssociateFormControlsTimerFired), | 591 &Document::DidAssociateFormControlsTimerFired), |
| 591 timers_(TaskRunnerHelper::Get(TaskType::kTimer, this)), | 592 timers_(TaskRunnerHelper::Get(TaskType::kTimer, this)), |
| 592 has_viewport_units_(false), | 593 has_viewport_units_(false), |
| 593 parser_sync_policy_(kAllowAsynchronousParsing), | 594 parser_sync_policy_(kAllowAsynchronousParsing), |
| 594 node_count_(0), | 595 node_count_(0), |
| 595 would_load_reason_(WouldLoadReason::kInvalid), | 596 would_load_reason_(WouldLoadReason::kInvalid), |
| (...skipping 6259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6855 visitor->Trace(custom_element_microtask_run_queue_); | 6856 visitor->Trace(custom_element_microtask_run_queue_); |
| 6856 visitor->Trace(element_data_cache_); | 6857 visitor->Trace(element_data_cache_); |
| 6857 visitor->Trace(use_elements_needing_update_); | 6858 visitor->Trace(use_elements_needing_update_); |
| 6858 visitor->Trace(timers_); | 6859 visitor->Trace(timers_); |
| 6859 visitor->Trace(template_document_); | 6860 visitor->Trace(template_document_); |
| 6860 visitor->Trace(template_document_host_); | 6861 visitor->Trace(template_document_host_); |
| 6861 visitor->Trace(user_action_elements_); | 6862 visitor->Trace(user_action_elements_); |
| 6862 visitor->Trace(svg_extensions_); | 6863 visitor->Trace(svg_extensions_); |
| 6863 visitor->Trace(timeline_); | 6864 visitor->Trace(timeline_); |
| 6864 visitor->Trace(compositor_pending_animations_); | 6865 visitor->Trace(compositor_pending_animations_); |
| 6866 visitor->Trace(worklet_animation_controller_); |
| 6865 visitor->Trace(context_document_); | 6867 visitor->Trace(context_document_); |
| 6866 visitor->Trace(canvas_font_cache_); | 6868 visitor->Trace(canvas_font_cache_); |
| 6867 visitor->Trace(intersection_observer_controller_); | 6869 visitor->Trace(intersection_observer_controller_); |
| 6868 visitor->Trace(snap_coordinator_); | 6870 visitor->Trace(snap_coordinator_); |
| 6869 visitor->Trace(resize_observer_controller_); | 6871 visitor->Trace(resize_observer_controller_); |
| 6870 visitor->Trace(property_registry_); | 6872 visitor->Trace(property_registry_); |
| 6871 visitor->Trace(network_state_observer_); | 6873 visitor->Trace(network_state_observer_); |
| 6872 Supplementable<Document>::Trace(visitor); | 6874 Supplementable<Document>::Trace(visitor); |
| 6873 TreeScope::Trace(visitor); | 6875 TreeScope::Trace(visitor); |
| 6874 ContainerNode::Trace(visitor); | 6876 ContainerNode::Trace(visitor); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6920 } | 6922 } |
| 6921 | 6923 |
| 6922 void showLiveDocumentInstances() { | 6924 void showLiveDocumentInstances() { |
| 6923 WeakDocumentSet& set = liveDocumentSet(); | 6925 WeakDocumentSet& set = liveDocumentSet(); |
| 6924 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6926 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 6925 for (blink::Document* document : set) | 6927 for (blink::Document* document : set) |
| 6926 fprintf(stderr, "- Document %p URL: %s\n", document, | 6928 fprintf(stderr, "- Document %p URL: %s\n", document, |
| 6927 document->Url().GetString().Utf8().data()); | 6929 document->Url().GetString().Utf8().data()); |
| 6928 } | 6930 } |
| 6929 #endif | 6931 #endif |
| OLD | NEW |