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 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 void decrementNodeCount() | 1043 void decrementNodeCount() |
1044 { | 1044 { |
1045 ASSERT(m_nodeCount > 0); | 1045 ASSERT(m_nodeCount > 0); |
1046 m_nodeCount--; | 1046 m_nodeCount--; |
1047 } | 1047 } |
1048 int nodeCount() const { return m_nodeCount; } | 1048 int nodeCount() const { return m_nodeCount; } |
1049 | 1049 |
1050 using WeakDocumentSet = WillBeHeapHashSet<RawPtrWillBeWeakMember<Document>>; | 1050 using WeakDocumentSet = WillBeHeapHashSet<RawPtrWillBeWeakMember<Document>>; |
1051 static WeakDocumentSet& liveDocumentSet(); | 1051 static WeakDocumentSet& liveDocumentSet(); |
1052 | 1052 |
| 1053 WebTaskRunner* loadingTaskRunner() const; |
| 1054 |
1053 protected: | 1055 protected: |
1054 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); | 1056 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); |
1055 | 1057 |
1056 void didUpdateSecurityOrigin() final; | 1058 void didUpdateSecurityOrigin() final; |
1057 | 1059 |
1058 void clearXMLVersion() { m_xmlVersion = String(); } | 1060 void clearXMLVersion() { m_xmlVersion = String(); } |
1059 | 1061 |
1060 #if !ENABLE(OILPAN) | 1062 #if !ENABLE(OILPAN) |
1061 void dispose() override; | 1063 void dispose() override; |
1062 #endif | 1064 #endif |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1436 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1438 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1437 | 1439 |
1438 } // namespace blink | 1440 } // namespace blink |
1439 | 1441 |
1440 #ifndef NDEBUG | 1442 #ifndef NDEBUG |
1441 // Outside the WebCore namespace for ease of invocation from gdb. | 1443 // Outside the WebCore namespace for ease of invocation from gdb. |
1442 CORE_EXPORT void showLiveDocumentInstances(); | 1444 CORE_EXPORT void showLiveDocumentInstances(); |
1443 #endif | 1445 #endif |
1444 | 1446 |
1445 #endif // Document_h | 1447 #endif // Document_h |
OLD | NEW |