| 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 r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
| 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 , m_documentTiming(*this) | 443 , m_documentTiming(*this) |
| 444 , m_writeRecursionIsTooDeep(false) | 444 , m_writeRecursionIsTooDeep(false) |
| 445 , m_writeRecursionDepth(0) | 445 , m_writeRecursionDepth(0) |
| 446 , m_taskRunner(MainThreadTaskRunner::create(this)) | 446 , m_taskRunner(MainThreadTaskRunner::create(this)) |
| 447 , m_registrationContext(initializer.registrationContext(this)) | 447 , m_registrationContext(initializer.registrationContext(this)) |
| 448 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi
red) | 448 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi
red) |
| 449 , m_timeline(DocumentTimeline::create(this)) | 449 , m_timeline(DocumentTimeline::create(this)) |
| 450 , m_compositorPendingAnimations(new CompositorPendingAnimations()) | 450 , m_compositorPendingAnimations(new CompositorPendingAnimations()) |
| 451 , m_templateDocumentHost(nullptr) | 451 , m_templateDocumentHost(nullptr) |
| 452 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT
imerFired) | 452 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT
imerFired) |
| 453 , m_timers(TaskRunnerHelper::getTimerTaskRunner(this)->clone()) | 453 , m_timers(TaskRunnerHelper::get(TaskType::Timer, this)->clone()) |
| 454 , m_hasViewportUnits(false) | 454 , m_hasViewportUnits(false) |
| 455 , m_parserSyncPolicy(AllowAsynchronousParsing) | 455 , m_parserSyncPolicy(AllowAsynchronousParsing) |
| 456 , m_nodeCount(0) | 456 , m_nodeCount(0) |
| 457 { | 457 { |
| 458 if (m_frame) { | 458 if (m_frame) { |
| 459 DCHECK(m_frame->page()); | 459 DCHECK(m_frame->page()); |
| 460 provideContextFeaturesToDocumentFrom(*this, *m_frame->page()); | 460 provideContextFeaturesToDocumentFrom(*this, *m_frame->page()); |
| 461 | 461 |
| 462 m_fetcher = m_frame->loader().documentLoader()->fetcher(); | 462 m_fetcher = m_frame->loader().documentLoader()->fetcher(); |
| 463 FrameFetchContext::provideDocumentToContext(m_fetcher->context(), this); | 463 FrameFetchContext::provideDocumentToContext(m_fetcher->context(), this); |
| (...skipping 5574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6038 } | 6038 } |
| 6039 | 6039 |
| 6040 void showLiveDocumentInstances() | 6040 void showLiveDocumentInstances() |
| 6041 { | 6041 { |
| 6042 WeakDocumentSet& set = liveDocumentSet(); | 6042 WeakDocumentSet& set = liveDocumentSet(); |
| 6043 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6043 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 6044 for (Document* document : set) | 6044 for (Document* document : set) |
| 6045 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get
String().utf8().data()); | 6045 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get
String().utf8().data()); |
| 6046 } | 6046 } |
| 6047 #endif | 6047 #endif |
| OLD | NEW |