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

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

Issue 252383010: Call DOMWindow::finishedLoading from FrameLoader::checkLoadCompleteForThisFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/fetch/ResourceFetcher.cpp » ('j') | 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, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 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) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 8 * Copyright (C) 2008, 2009, 2011, 2012 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 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
(...skipping 5238 matching lines...) Expand 10 before | Expand all | Expand 10 after
5249 } 5249 }
5250 5250
5251 void Document::decrementActiveParserCount() 5251 void Document::decrementActiveParserCount()
5252 { 5252 {
5253 --m_activeParserCount; 5253 --m_activeParserCount;
5254 if (!frame()) 5254 if (!frame())
5255 return; 5255 return;
5256 // FIXME: This should always be enabled, but it seems to cause 5256 // FIXME: This should always be enabled, but it seems to cause
5257 // http/tests/security/feed-urls-from-remote.html to timeout on Mac WK1 5257 // http/tests/security/feed-urls-from-remote.html to timeout on Mac WK1
5258 // see http://webkit.org/b/110554 and http://webkit.org/b/110401 5258 // see http://webkit.org/b/110554 and http://webkit.org/b/110401
5259 loader()->checkLoadComplete();
5260 frame()->loader().checkLoadComplete(); 5259 frame()->loader().checkLoadComplete();
5261 } 5260 }
5262 5261
5263 void Document::setContextFeatures(ContextFeatures& features) 5262 void Document::setContextFeatures(ContextFeatures& features)
5264 { 5263 {
5265 m_contextFeatures = PassRefPtr<ContextFeatures>(features); 5264 m_contextFeatures = PassRefPtr<ContextFeatures>(features);
5266 } 5265 }
5267 5266
5268 static RenderObject* nearestCommonHoverAncestor(RenderObject* obj1, RenderObject * obj2) 5267 static RenderObject* nearestCommonHoverAncestor(RenderObject* obj1, RenderObject * obj2)
5269 { 5268 {
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
5599 (*it)->invalidateCache(attrName); 5598 (*it)->invalidateCache(attrName);
5600 } 5599 }
5601 5600
5602 void Document::trace(Visitor* visitor) 5601 void Document::trace(Visitor* visitor)
5603 { 5602 {
5604 Supplementable<Document>::trace(visitor); 5603 Supplementable<Document>::trace(visitor);
5605 ContainerNode::trace(visitor); 5604 ContainerNode::trace(visitor);
5606 } 5605 }
5607 5606
5608 } // namespace WebCore 5607 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698