| 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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 document_timing_(*this), | 635 document_timing_(*this), |
| 636 write_recursion_is_too_deep_(false), | 636 write_recursion_is_too_deep_(false), |
| 637 write_recursion_depth_(0), | 637 write_recursion_depth_(0), |
| 638 registration_context_(initializer.RegistrationContext(this)), | 638 registration_context_(initializer.RegistrationContext(this)), |
| 639 element_data_cache_clear_timer_( | 639 element_data_cache_clear_timer_( |
| 640 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, this), | 640 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, this), |
| 641 this, | 641 this, |
| 642 &Document::ElementDataCacheClearTimerFired), | 642 &Document::ElementDataCacheClearTimerFired), |
| 643 timeline_(DocumentTimeline::Create(this)), | 643 timeline_(DocumentTimeline::Create(this)), |
| 644 pending_animations_(new PendingAnimations(*this)), | 644 pending_animations_(new PendingAnimations(*this)), |
| 645 worklet_animation_controller_(new WorkletAnimationController), |
| 645 template_document_host_(nullptr), | 646 template_document_host_(nullptr), |
| 646 did_associate_form_controls_timer_( | 647 did_associate_form_controls_timer_( |
| 647 TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this), | 648 TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this), |
| 648 this, | 649 this, |
| 649 &Document::DidAssociateFormControlsTimerFired), | 650 &Document::DidAssociateFormControlsTimerFired), |
| 650 timers_(TaskRunnerHelper::Get(TaskType::kTimer, this)), | 651 timers_(TaskRunnerHelper::Get(TaskType::kTimer, this)), |
| 651 has_viewport_units_(false), | 652 has_viewport_units_(false), |
| 652 parser_sync_policy_(kAllowAsynchronousParsing), | 653 parser_sync_policy_(kAllowAsynchronousParsing), |
| 653 node_count_(0), | 654 node_count_(0), |
| 654 would_load_reason_(WouldLoadReason::kInvalid), | 655 would_load_reason_(WouldLoadReason::kInvalid), |
| (...skipping 6346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7001 visitor->Trace(custom_element_microtask_run_queue_); | 7002 visitor->Trace(custom_element_microtask_run_queue_); |
| 7002 visitor->Trace(element_data_cache_); | 7003 visitor->Trace(element_data_cache_); |
| 7003 visitor->Trace(use_elements_needing_update_); | 7004 visitor->Trace(use_elements_needing_update_); |
| 7004 visitor->Trace(timers_); | 7005 visitor->Trace(timers_); |
| 7005 visitor->Trace(template_document_); | 7006 visitor->Trace(template_document_); |
| 7006 visitor->Trace(template_document_host_); | 7007 visitor->Trace(template_document_host_); |
| 7007 visitor->Trace(user_action_elements_); | 7008 visitor->Trace(user_action_elements_); |
| 7008 visitor->Trace(svg_extensions_); | 7009 visitor->Trace(svg_extensions_); |
| 7009 visitor->Trace(timeline_); | 7010 visitor->Trace(timeline_); |
| 7010 visitor->Trace(pending_animations_); | 7011 visitor->Trace(pending_animations_); |
| 7012 visitor->Trace(worklet_animation_controller_); |
| 7011 visitor->Trace(context_document_); | 7013 visitor->Trace(context_document_); |
| 7012 visitor->Trace(canvas_font_cache_); | 7014 visitor->Trace(canvas_font_cache_); |
| 7013 visitor->Trace(intersection_observer_controller_); | 7015 visitor->Trace(intersection_observer_controller_); |
| 7014 visitor->Trace(snap_coordinator_); | 7016 visitor->Trace(snap_coordinator_); |
| 7015 visitor->Trace(resize_observer_controller_); | 7017 visitor->Trace(resize_observer_controller_); |
| 7016 visitor->Trace(property_registry_); | 7018 visitor->Trace(property_registry_); |
| 7017 visitor->Trace(network_state_observer_); | 7019 visitor->Trace(network_state_observer_); |
| 7018 Supplementable<Document>::Trace(visitor); | 7020 Supplementable<Document>::Trace(visitor); |
| 7019 TreeScope::Trace(visitor); | 7021 TreeScope::Trace(visitor); |
| 7020 ContainerNode::Trace(visitor); | 7022 ContainerNode::Trace(visitor); |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7069 } | 7071 } |
| 7070 | 7072 |
| 7071 void showLiveDocumentInstances() { | 7073 void showLiveDocumentInstances() { |
| 7072 WeakDocumentSet& set = liveDocumentSet(); | 7074 WeakDocumentSet& set = liveDocumentSet(); |
| 7073 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 7075 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 7074 for (blink::Document* document : set) | 7076 for (blink::Document* document : set) |
| 7075 fprintf(stderr, "- Document %p URL: %s\n", document, | 7077 fprintf(stderr, "- Document %p URL: %s\n", document, |
| 7076 document->Url().GetString().Utf8().data()); | 7078 document->Url().GetString().Utf8().data()); |
| 7077 } | 7079 } |
| 7078 #endif | 7080 #endif |
| OLD | NEW |