| 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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 document_timing_(*this), | 579 document_timing_(*this), |
| 580 write_recursion_is_too_deep_(false), | 580 write_recursion_is_too_deep_(false), |
| 581 write_recursion_depth_(0), | 581 write_recursion_depth_(0), |
| 582 registration_context_(initializer.RegistrationContext(this)), | 582 registration_context_(initializer.RegistrationContext(this)), |
| 583 element_data_cache_clear_timer_( | 583 element_data_cache_clear_timer_( |
| 584 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, this), | 584 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, this), |
| 585 this, | 585 this, |
| 586 &Document::ElementDataCacheClearTimerFired), | 586 &Document::ElementDataCacheClearTimerFired), |
| 587 timeline_(DocumentTimeline::Create(this)), | 587 timeline_(DocumentTimeline::Create(this)), |
| 588 compositor_pending_animations_(new CompositorPendingAnimations(*this)), | 588 compositor_pending_animations_(new CompositorPendingAnimations(*this)), |
| 589 worklet_animation_controller_(new WorkletAnimationController), |
| 589 template_document_host_(nullptr), | 590 template_document_host_(nullptr), |
| 590 did_associate_form_controls_timer_( | 591 did_associate_form_controls_timer_( |
| 591 TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this), | 592 TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this), |
| 592 this, | 593 this, |
| 593 &Document::DidAssociateFormControlsTimerFired), | 594 &Document::DidAssociateFormControlsTimerFired), |
| 594 timers_(TaskRunnerHelper::Get(TaskType::kTimer, this)), | 595 timers_(TaskRunnerHelper::Get(TaskType::kTimer, this)), |
| 595 has_viewport_units_(false), | 596 has_viewport_units_(false), |
| 596 parser_sync_policy_(kAllowAsynchronousParsing), | 597 parser_sync_policy_(kAllowAsynchronousParsing), |
| 597 node_count_(0), | 598 node_count_(0), |
| 598 would_load_reason_(WouldLoadReason::kInvalid), | 599 would_load_reason_(WouldLoadReason::kInvalid), |
| (...skipping 6310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6909 visitor->Trace(custom_element_microtask_run_queue_); | 6910 visitor->Trace(custom_element_microtask_run_queue_); |
| 6910 visitor->Trace(element_data_cache_); | 6911 visitor->Trace(element_data_cache_); |
| 6911 visitor->Trace(use_elements_needing_update_); | 6912 visitor->Trace(use_elements_needing_update_); |
| 6912 visitor->Trace(timers_); | 6913 visitor->Trace(timers_); |
| 6913 visitor->Trace(template_document_); | 6914 visitor->Trace(template_document_); |
| 6914 visitor->Trace(template_document_host_); | 6915 visitor->Trace(template_document_host_); |
| 6915 visitor->Trace(user_action_elements_); | 6916 visitor->Trace(user_action_elements_); |
| 6916 visitor->Trace(svg_extensions_); | 6917 visitor->Trace(svg_extensions_); |
| 6917 visitor->Trace(timeline_); | 6918 visitor->Trace(timeline_); |
| 6918 visitor->Trace(compositor_pending_animations_); | 6919 visitor->Trace(compositor_pending_animations_); |
| 6920 visitor->Trace(worklet_animation_controller_); |
| 6919 visitor->Trace(context_document_); | 6921 visitor->Trace(context_document_); |
| 6920 visitor->Trace(canvas_font_cache_); | 6922 visitor->Trace(canvas_font_cache_); |
| 6921 visitor->Trace(intersection_observer_controller_); | 6923 visitor->Trace(intersection_observer_controller_); |
| 6922 visitor->Trace(snap_coordinator_); | 6924 visitor->Trace(snap_coordinator_); |
| 6923 visitor->Trace(resize_observer_controller_); | 6925 visitor->Trace(resize_observer_controller_); |
| 6924 visitor->Trace(property_registry_); | 6926 visitor->Trace(property_registry_); |
| 6925 visitor->Trace(network_state_observer_); | 6927 visitor->Trace(network_state_observer_); |
| 6926 Supplementable<Document>::Trace(visitor); | 6928 Supplementable<Document>::Trace(visitor); |
| 6927 TreeScope::Trace(visitor); | 6929 TreeScope::Trace(visitor); |
| 6928 ContainerNode::Trace(visitor); | 6930 ContainerNode::Trace(visitor); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6975 } | 6977 } |
| 6976 | 6978 |
| 6977 void showLiveDocumentInstances() { | 6979 void showLiveDocumentInstances() { |
| 6978 WeakDocumentSet& set = liveDocumentSet(); | 6980 WeakDocumentSet& set = liveDocumentSet(); |
| 6979 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6981 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 6980 for (blink::Document* document : set) | 6982 for (blink::Document* document : set) |
| 6981 fprintf(stderr, "- Document %p URL: %s\n", document, | 6983 fprintf(stderr, "- Document %p URL: %s\n", document, |
| 6982 document->Url().GetString().Utf8().data()); | 6984 document->Url().GetString().Utf8().data()); |
| 6983 } | 6985 } |
| 6984 #endif | 6986 #endif |
| OLD | NEW |