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

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

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years 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
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 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 2400 matching lines...) Expand 10 before | Expand all | Expand 10 after
2411 if (page()) 2411 if (page())
2412 page()->documentDetached(this); 2412 page()->documentDetached(this);
2413 InspectorInstrumentation::documentDetached(this); 2413 InspectorInstrumentation::documentDetached(this);
2414 2414
2415 if (m_frame->loader().client()->sharedWorkerRepositoryClient()) 2415 if (m_frame->loader().client()->sharedWorkerRepositoryClient())
2416 m_frame->loader() 2416 m_frame->loader()
2417 .client() 2417 .client()
2418 ->sharedWorkerRepositoryClient() 2418 ->sharedWorkerRepositoryClient()
2419 ->documentDetached(this); 2419 ->documentDetached(this);
2420 2420
2421 // FIXME: consider using ActiveDOMObject. 2421 // FIXME: consider using SuspendableObject.
2422 if (m_scriptedAnimationController) 2422 if (m_scriptedAnimationController)
2423 m_scriptedAnimationController->clearDocumentPointer(); 2423 m_scriptedAnimationController->clearDocumentPointer();
2424 m_scriptedAnimationController.clear(); 2424 m_scriptedAnimationController.clear();
2425 2425
2426 m_scriptedIdleTaskController.clear(); 2426 m_scriptedIdleTaskController.clear();
2427 2427
2428 if (svgExtensions()) 2428 if (svgExtensions())
2429 accessSVGExtensions().pauseAnimations(); 2429 accessSVGExtensions().pauseAnimations();
2430 2430
2431 // FIXME: This shouldn't be needed once LocalDOMWindow becomes 2431 // FIXME: This shouldn't be needed once LocalDOMWindow becomes
(...skipping 4156 matching lines...) Expand 10 before | Expand all | Expand 10 after
6588 } 6588 }
6589 6589
6590 void showLiveDocumentInstances() { 6590 void showLiveDocumentInstances() {
6591 WeakDocumentSet& set = liveDocumentSet(); 6591 WeakDocumentSet& set = liveDocumentSet();
6592 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 6592 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
6593 for (Document* document : set) 6593 for (Document* document : set)
6594 fprintf(stderr, "- Document %p URL: %s\n", document, 6594 fprintf(stderr, "- Document %p URL: %s\n", document,
6595 document->url().getString().utf8().data()); 6595 document->url().getString().utf8().data());
6596 } 6596 }
6597 #endif 6597 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698