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, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 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) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 void decrementNodeCount() | 1042 void decrementNodeCount() |
1043 { | 1043 { |
1044 ASSERT(m_nodeCount > 0); | 1044 ASSERT(m_nodeCount > 0); |
1045 m_nodeCount--; | 1045 m_nodeCount--; |
1046 } | 1046 } |
1047 int nodeCount() const { return m_nodeCount; } | 1047 int nodeCount() const { return m_nodeCount; } |
1048 | 1048 |
1049 using WeakDocumentSet = WillBeHeapHashSet<RawPtrWillBeWeakMember<Document>>; | 1049 using WeakDocumentSet = WillBeHeapHashSet<RawPtrWillBeWeakMember<Document>>; |
1050 static WeakDocumentSet& liveDocumentSet(); | 1050 static WeakDocumentSet& liveDocumentSet(); |
1051 | 1051 |
| 1052 WebTaskRunner* loadingTaskRunner() const; |
| 1053 |
1052 protected: | 1054 protected: |
1053 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); | 1055 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); |
1054 | 1056 |
1055 void didUpdateSecurityOrigin() final; | 1057 void didUpdateSecurityOrigin() final; |
1056 | 1058 |
1057 void clearXMLVersion() { m_xmlVersion = String(); } | 1059 void clearXMLVersion() { m_xmlVersion = String(); } |
1058 | 1060 |
1059 #if !ENABLE(OILPAN) | 1061 #if !ENABLE(OILPAN) |
1060 void dispose() override; | 1062 void dispose() override; |
1061 #endif | 1063 #endif |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1436 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1435 | 1437 |
1436 } // namespace blink | 1438 } // namespace blink |
1437 | 1439 |
1438 #ifndef NDEBUG | 1440 #ifndef NDEBUG |
1439 // Outside the WebCore namespace for ease of invocation from gdb. | 1441 // Outside the WebCore namespace for ease of invocation from gdb. |
1440 CORE_EXPORT void showLiveDocumentInstances(); | 1442 CORE_EXPORT void showLiveDocumentInstances(); |
1441 #endif | 1443 #endif |
1442 | 1444 |
1443 #endif // Document_h | 1445 #endif // Document_h |
OLD | NEW |