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

Side by Side Diff: Source/WebCore/dom/Document.cpp

Issue 8587027: Merge 99579 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « LayoutTests/fast/loader/stateobjects/replacestate-in-onunload-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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
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
OLDNEW
« no previous file with comments | « LayoutTests/fast/loader/stateobjects/replacestate-in-onunload-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698