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

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

Issue 2728513002: Revert of Move the FontFaceCache stored in CSSFontSelector to be stored in Document. (Closed)
Patch Set: Created 3 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
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 6504 matching lines...) Expand 10 before | Expand all | Expand 10 after
6515 visitor->trace(m_elementDataCache); 6515 visitor->trace(m_elementDataCache);
6516 visitor->trace(m_useElementsNeedingUpdate); 6516 visitor->trace(m_useElementsNeedingUpdate);
6517 visitor->trace(m_timers); 6517 visitor->trace(m_timers);
6518 visitor->trace(m_templateDocument); 6518 visitor->trace(m_templateDocument);
6519 visitor->trace(m_templateDocumentHost); 6519 visitor->trace(m_templateDocumentHost);
6520 visitor->trace(m_userActionElements); 6520 visitor->trace(m_userActionElements);
6521 visitor->trace(m_svgExtensions); 6521 visitor->trace(m_svgExtensions);
6522 visitor->trace(m_timeline); 6522 visitor->trace(m_timeline);
6523 visitor->trace(m_compositorPendingAnimations); 6523 visitor->trace(m_compositorPendingAnimations);
6524 visitor->trace(m_contextDocument); 6524 visitor->trace(m_contextDocument);
6525 visitor->trace(m_fontFaceCache);
6526 visitor->trace(m_canvasFontCache); 6525 visitor->trace(m_canvasFontCache);
6527 visitor->trace(m_intersectionObserverController); 6526 visitor->trace(m_intersectionObserverController);
6528 visitor->trace(m_snapCoordinator); 6527 visitor->trace(m_snapCoordinator);
6529 visitor->trace(m_resizeObserverController); 6528 visitor->trace(m_resizeObserverController);
6530 visitor->trace(m_propertyRegistry); 6529 visitor->trace(m_propertyRegistry);
6531 visitor->trace(m_styleReattachDataMap); 6530 visitor->trace(m_styleReattachDataMap);
6532 Supplementable<Document>::trace(visitor); 6531 Supplementable<Document>::trace(visitor);
6533 TreeScope::trace(visitor); 6532 TreeScope::trace(visitor);
6534 ContainerNode::trace(visitor); 6533 ContainerNode::trace(visitor);
6535 ExecutionContext::trace(visitor); 6534 ExecutionContext::trace(visitor);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
6582 } 6581 }
6583 6582
6584 void showLiveDocumentInstances() { 6583 void showLiveDocumentInstances() {
6585 WeakDocumentSet& set = liveDocumentSet(); 6584 WeakDocumentSet& set = liveDocumentSet();
6586 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 6585 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
6587 for (blink::Document* document : set) 6586 for (blink::Document* document : set)
6588 fprintf(stderr, "- Document %p URL: %s\n", document, 6587 fprintf(stderr, "- Document %p URL: %s\n", document,
6589 document->url().getString().utf8().data()); 6588 document->url().getString().utf8().data());
6590 } 6589 }
6591 #endif 6590 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698