Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 1832773002: Move CompositorPendingAnimations to Oilpan's heap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 , m_loadEventDelayCount(0) 446 , m_loadEventDelayCount(0)
447 , m_loadEventDelayTimer(this, &Document::loadEventDelayTimerFired) 447 , m_loadEventDelayTimer(this, &Document::loadEventDelayTimerFired)
448 , m_pluginLoadingTimer(this, &Document::pluginLoadingTimerFired) 448 , m_pluginLoadingTimer(this, &Document::pluginLoadingTimerFired)
449 , m_documentTiming(*this) 449 , m_documentTiming(*this)
450 , m_writeRecursionIsTooDeep(false) 450 , m_writeRecursionIsTooDeep(false)
451 , m_writeRecursionDepth(0) 451 , m_writeRecursionDepth(0)
452 , m_taskRunner(MainThreadTaskRunner::create(this)) 452 , m_taskRunner(MainThreadTaskRunner::create(this))
453 , m_registrationContext(initializer.registrationContext(this)) 453 , m_registrationContext(initializer.registrationContext(this))
454 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red) 454 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red)
455 , m_timeline(AnimationTimeline::create(this)) 455 , m_timeline(AnimationTimeline::create(this))
456 , m_compositorPendingAnimations(new CompositorPendingAnimations())
456 , m_templateDocumentHost(nullptr) 457 , m_templateDocumentHost(nullptr)
457 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT imerFired) 458 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT imerFired)
458 , m_timers(timerTaskRunner()->adoptClone()) 459 , m_timers(timerTaskRunner()->adoptClone())
459 , m_hasViewportUnits(false) 460 , m_hasViewportUnits(false)
460 , m_parserSyncPolicy(AllowAsynchronousParsing) 461 , m_parserSyncPolicy(AllowAsynchronousParsing)
461 , m_nodeCount(0) 462 , m_nodeCount(0)
462 { 463 {
463 if (m_frame) { 464 if (m_frame) {
464 ASSERT(m_frame->page()); 465 ASSERT(m_frame->page());
465 provideContextFeaturesToDocumentFrom(*this, *m_frame->page()); 466 provideContextFeaturesToDocumentFrom(*this, *m_frame->page());
(...skipping 5570 matching lines...) Expand 10 before | Expand all | Expand 10 after
6036 #ifndef NDEBUG 6037 #ifndef NDEBUG
6037 using namespace blink; 6038 using namespace blink;
6038 void showLiveDocumentInstances() 6039 void showLiveDocumentInstances()
6039 { 6040 {
6040 Document::WeakDocumentSet& set = Document::liveDocumentSet(); 6041 Document::WeakDocumentSet& set = Document::liveDocumentSet();
6041 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 6042 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
6042 for (Document* document : set) 6043 for (Document* document : set)
6043 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get String().utf8().data()); 6044 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get String().utf8().data());
6044 } 6045 }
6045 #endif 6046 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698