| 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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 document_timing_(*this), | 633 document_timing_(*this), |
| 634 write_recursion_is_too_deep_(false), | 634 write_recursion_is_too_deep_(false), |
| 635 write_recursion_depth_(0), | 635 write_recursion_depth_(0), |
| 636 registration_context_(initializer.RegistrationContext(this)), | 636 registration_context_(initializer.RegistrationContext(this)), |
| 637 element_data_cache_clear_timer_( | 637 element_data_cache_clear_timer_( |
| 638 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, this), | 638 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, this), |
| 639 this, | 639 this, |
| 640 &Document::ElementDataCacheClearTimerFired), | 640 &Document::ElementDataCacheClearTimerFired), |
| 641 timeline_(DocumentTimeline::Create(this)), | 641 timeline_(DocumentTimeline::Create(this)), |
| 642 pending_animations_(new PendingAnimations(*this)), | 642 pending_animations_(new PendingAnimations(*this)), |
| 643 worklet_animation_controller_(new WorkletAnimationController), |
| 643 template_document_host_(nullptr), | 644 template_document_host_(nullptr), |
| 644 did_associate_form_controls_timer_( | 645 did_associate_form_controls_timer_( |
| 645 TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this), | 646 TaskRunnerHelper::Get(TaskType::kUnspecedLoading, this), |
| 646 this, | 647 this, |
| 647 &Document::DidAssociateFormControlsTimerFired), | 648 &Document::DidAssociateFormControlsTimerFired), |
| 648 timers_(TaskRunnerHelper::Get(TaskType::kJavascriptTimer, this)), | 649 timers_(TaskRunnerHelper::Get(TaskType::kJavascriptTimer, this)), |
| 649 has_viewport_units_(false), | 650 has_viewport_units_(false), |
| 650 parser_sync_policy_(kAllowAsynchronousParsing), | 651 parser_sync_policy_(kAllowAsynchronousParsing), |
| 651 node_count_(0), | 652 node_count_(0), |
| 652 would_load_reason_(WouldLoadReason::kInvalid), | 653 would_load_reason_(WouldLoadReason::kInvalid), |
| (...skipping 6359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7012 visitor->Trace(custom_element_microtask_run_queue_); | 7013 visitor->Trace(custom_element_microtask_run_queue_); |
| 7013 visitor->Trace(element_data_cache_); | 7014 visitor->Trace(element_data_cache_); |
| 7014 visitor->Trace(use_elements_needing_update_); | 7015 visitor->Trace(use_elements_needing_update_); |
| 7015 visitor->Trace(timers_); | 7016 visitor->Trace(timers_); |
| 7016 visitor->Trace(template_document_); | 7017 visitor->Trace(template_document_); |
| 7017 visitor->Trace(template_document_host_); | 7018 visitor->Trace(template_document_host_); |
| 7018 visitor->Trace(user_action_elements_); | 7019 visitor->Trace(user_action_elements_); |
| 7019 visitor->Trace(svg_extensions_); | 7020 visitor->Trace(svg_extensions_); |
| 7020 visitor->Trace(timeline_); | 7021 visitor->Trace(timeline_); |
| 7021 visitor->Trace(pending_animations_); | 7022 visitor->Trace(pending_animations_); |
| 7023 visitor->Trace(worklet_animation_controller_); |
| 7022 visitor->Trace(context_document_); | 7024 visitor->Trace(context_document_); |
| 7023 visitor->Trace(canvas_font_cache_); | 7025 visitor->Trace(canvas_font_cache_); |
| 7024 visitor->Trace(intersection_observer_controller_); | 7026 visitor->Trace(intersection_observer_controller_); |
| 7025 visitor->Trace(snap_coordinator_); | 7027 visitor->Trace(snap_coordinator_); |
| 7026 visitor->Trace(resize_observer_controller_); | 7028 visitor->Trace(resize_observer_controller_); |
| 7027 visitor->Trace(property_registry_); | 7029 visitor->Trace(property_registry_); |
| 7028 visitor->Trace(network_state_observer_); | 7030 visitor->Trace(network_state_observer_); |
| 7029 Supplementable<Document>::Trace(visitor); | 7031 Supplementable<Document>::Trace(visitor); |
| 7030 TreeScope::Trace(visitor); | 7032 TreeScope::Trace(visitor); |
| 7031 ContainerNode::Trace(visitor); | 7033 ContainerNode::Trace(visitor); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7081 } | 7083 } |
| 7082 | 7084 |
| 7083 void showLiveDocumentInstances() { | 7085 void showLiveDocumentInstances() { |
| 7084 WeakDocumentSet& set = liveDocumentSet(); | 7086 WeakDocumentSet& set = liveDocumentSet(); |
| 7085 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 7087 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 7086 for (blink::Document* document : set) | 7088 for (blink::Document* document : set) |
| 7087 fprintf(stderr, "- Document %p URL: %s\n", document, | 7089 fprintf(stderr, "- Document %p URL: %s\n", document, |
| 7088 document->Url().GetString().Utf8().data()); | 7090 document->Url().GetString().Utf8().data()); |
| 7089 } | 7091 } |
| 7090 #endif | 7092 #endif |
| OLD | NEW |