| 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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 &Document::pluginLoadingTimerFired), | 475 &Document::pluginLoadingTimerFired), |
| 476 m_documentTiming(*this), | 476 m_documentTiming(*this), |
| 477 m_writeRecursionIsTooDeep(false), | 477 m_writeRecursionIsTooDeep(false), |
| 478 m_writeRecursionDepth(0), | 478 m_writeRecursionDepth(0), |
| 479 m_registrationContext(initializer.registrationContext(this)), | 479 m_registrationContext(initializer.registrationContext(this)), |
| 480 m_elementDataCacheClearTimer( | 480 m_elementDataCacheClearTimer( |
| 481 TaskRunnerHelper::get(TaskType::UnspecedTimer, this), | 481 TaskRunnerHelper::get(TaskType::UnspecedTimer, this), |
| 482 this, | 482 this, |
| 483 &Document::elementDataCacheClearTimerFired), | 483 &Document::elementDataCacheClearTimerFired), |
| 484 m_timeline(DocumentTimeline::create(this)), | 484 m_timeline(DocumentTimeline::create(this)), |
| 485 m_compositorPendingAnimations(new CompositorPendingAnimations()), | 485 m_compositorPendingAnimations(new CompositorPendingAnimations(*this)), |
| 486 m_templateDocumentHost(nullptr), | 486 m_templateDocumentHost(nullptr), |
| 487 m_didAssociateFormControlsTimer( | 487 m_didAssociateFormControlsTimer( |
| 488 TaskRunnerHelper::get(TaskType::UnspecedLoading, this), | 488 TaskRunnerHelper::get(TaskType::UnspecedLoading, this), |
| 489 this, | 489 this, |
| 490 &Document::didAssociateFormControlsTimerFired), | 490 &Document::didAssociateFormControlsTimerFired), |
| 491 m_timers(TaskRunnerHelper::get(TaskType::Timer, this)->clone()), | 491 m_timers(TaskRunnerHelper::get(TaskType::Timer, this)->clone()), |
| 492 m_hasViewportUnits(false), | 492 m_hasViewportUnits(false), |
| 493 m_parserSyncPolicy(AllowAsynchronousParsing), | 493 m_parserSyncPolicy(AllowAsynchronousParsing), |
| 494 m_nodeCount(0), | 494 m_nodeCount(0), |
| 495 m_wouldLoadReason(Created), | 495 m_wouldLoadReason(Created), |
| (...skipping 6088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6584 } | 6584 } |
| 6585 | 6585 |
| 6586 void showLiveDocumentInstances() { | 6586 void showLiveDocumentInstances() { |
| 6587 WeakDocumentSet& set = liveDocumentSet(); | 6587 WeakDocumentSet& set = liveDocumentSet(); |
| 6588 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6588 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 6589 for (Document* document : set) | 6589 for (Document* document : set) |
| 6590 fprintf(stderr, "- Document %p URL: %s\n", document, | 6590 fprintf(stderr, "- Document %p URL: %s\n", document, |
| 6591 document->url().getString().utf8().data()); | 6591 document->url().getString().utf8().data()); |
| 6592 } | 6592 } |
| 6593 #endif | 6593 #endif |
| OLD | NEW |