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, 2011 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights
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 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011 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 * | 10 * |
(...skipping 5145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5156 return !settings() | 5156 return !settings() |
5157 || !settings()->suppressIncrementalRendering() | 5157 || !settings()->suppressIncrementalRendering() |
5158 || loadEventFinished(); | 5158 || loadEventFinished(); |
5159 } | 5159 } |
5160 | 5160 |
5161 DocumentLoader* Document::loader() const | 5161 DocumentLoader* Document::loader() const |
5162 { | 5162 { |
5163 if (!m_frame) | 5163 if (!m_frame) |
5164 return 0; | 5164 return 0; |
5165 | 5165 |
5166 DocumentLoader* loader = m_frame->loader()->activeDocumentLoader(); | 5166 DocumentLoader* loader = m_frame->loader()->documentLoader(); |
5167 if (!loader) | 5167 if (!loader) |
5168 return 0; | 5168 return 0; |
5169 | 5169 |
5170 if (m_frame->document() != this) | 5170 if (m_frame->document() != this) |
5171 return 0; | 5171 return 0; |
5172 | 5172 |
5173 return loader; | 5173 return loader; |
5174 } | 5174 } |
5175 | 5175 |
5176 #if ENABLE(MICRODATA) | 5176 #if ENABLE(MICRODATA) |
(...skipping 26 matching lines...) Expand all Loading... |
5203 | 5203 |
5204 NodeListsNodeData* data = rareData()->nodeLists(); | 5204 NodeListsNodeData* data = rareData()->nodeLists(); |
5205 | 5205 |
5206 String localTypeNames = typeNames.isNull() ? String("http://webkit.org/micro
data/undefinedItemType") : typeNames; | 5206 String localTypeNames = typeNames.isNull() ? String("http://webkit.org/micro
data/undefinedItemType") : typeNames; |
5207 ASSERT_UNUSED(list, list == data->m_microDataItemListCache.get(localTypeName
s)); | 5207 ASSERT_UNUSED(list, list == data->m_microDataItemListCache.get(localTypeName
s)); |
5208 data->m_microDataItemListCache.remove(localTypeNames); | 5208 data->m_microDataItemListCache.remove(localTypeNames); |
5209 } | 5209 } |
5210 #endif | 5210 #endif |
5211 | 5211 |
5212 } // namespace WebCore | 5212 } // namespace WebCore |
OLD | NEW |