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