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

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

Issue 366703005: Remove outdated FIXME comment from Document::decrementActiveParserCount() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | 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, 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 5368 matching lines...) Expand 10 before | Expand all | Expand 10 after
5379 bool Document::hasActiveParser() 5379 bool Document::hasActiveParser()
5380 { 5380 {
5381 return m_activeParserCount || (m_parser && m_parser->processingData()); 5381 return m_activeParserCount || (m_parser && m_parser->processingData());
5382 } 5382 }
5383 5383
5384 void Document::decrementActiveParserCount() 5384 void Document::decrementActiveParserCount()
5385 { 5385 {
5386 --m_activeParserCount; 5386 --m_activeParserCount;
5387 if (!frame()) 5387 if (!frame())
5388 return; 5388 return;
5389 // FIXME: This should always be enabled, but it seems to cause
5390 // http/tests/security/feed-urls-from-remote.html to timeout on Mac WK1
5391 // see http://webkit.org/b/110554 and http://webkit.org/b/110401
5392 frame()->loader().checkLoadComplete(); 5389 frame()->loader().checkLoadComplete();
5393 } 5390 }
5394 5391
5395 void Document::setContextFeatures(ContextFeatures& features) 5392 void Document::setContextFeatures(ContextFeatures& features)
5396 { 5393 {
5397 m_contextFeatures = PassRefPtrWillBeRawPtr<ContextFeatures>(features); 5394 m_contextFeatures = PassRefPtrWillBeRawPtr<ContextFeatures>(features);
5398 } 5395 }
5399 5396
5400 static RenderObject* nearestCommonHoverAncestor(RenderObject* obj1, RenderObject * obj2) 5397 static RenderObject* nearestCommonHoverAncestor(RenderObject* obj1, RenderObject * obj2)
5401 { 5398 {
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
5820 visitor->trace(m_compositorPendingAnimations); 5817 visitor->trace(m_compositorPendingAnimations);
5821 visitor->trace(m_contextDocument); 5818 visitor->trace(m_contextDocument);
5822 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); 5819 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this);
5823 DocumentSupplementable::trace(visitor); 5820 DocumentSupplementable::trace(visitor);
5824 TreeScope::trace(visitor); 5821 TreeScope::trace(visitor);
5825 ContainerNode::trace(visitor); 5822 ContainerNode::trace(visitor);
5826 ExecutionContext::trace(visitor); 5823 ExecutionContext::trace(visitor);
5827 } 5824 }
5828 5825
5829 } // namespace WebCore 5826 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698