| 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, 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 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 if (HTMLImportLoader* import = importLoader()) | 1611 if (HTMLImportLoader* import = importLoader()) |
| 1612 import->didRemoveAllPendingStylesheet(); | 1612 import->didRemoveAllPendingStylesheet(); |
| 1613 if (!haveImportsLoaded()) | 1613 if (!haveImportsLoaded()) |
| 1614 return; | 1614 return; |
| 1615 didLoadAllScriptBlockingResources(); | 1615 didLoadAllScriptBlockingResources(); |
| 1616 } | 1616 } |
| 1617 | 1617 |
| 1618 void Document::didLoadAllScriptBlockingResources() | 1618 void Document::didLoadAllScriptBlockingResources() |
| 1619 { | 1619 { |
| 1620 m_executeScriptsWaitingForResourcesTimer.startOneShot(0, FROM_HERE); | 1620 m_executeScriptsWaitingForResourcesTimer.startOneShot(0, FROM_HERE); |
| 1621 | |
| 1622 if (frame()) | |
| 1623 frame()->loaderClient()->didRemoveAllPendingStylesheet(); | |
| 1624 } | 1621 } |
| 1625 | 1622 |
| 1626 void Document::executeScriptsWaitingForResourcesTimerFired(Timer<Document>*) | 1623 void Document::executeScriptsWaitingForResourcesTimerFired(Timer<Document>*) |
| 1627 { | 1624 { |
| 1628 if (!isRenderingReady()) | 1625 if (!isRenderingReady()) |
| 1629 return; | 1626 return; |
| 1630 if (m_parser) | 1627 if (m_parser) |
| 1631 m_parser->executeScriptsWaitingForResources(); | 1628 m_parser->executeScriptsWaitingForResources(); |
| 1632 } | 1629 } |
| 1633 | 1630 |
| (...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2807 using namespace blink; | 2804 using namespace blink; |
| 2808 void showLiveDocumentInstances() | 2805 void showLiveDocumentInstances() |
| 2809 { | 2806 { |
| 2810 WeakDocumentSet& set = liveDocumentSet(); | 2807 WeakDocumentSet& set = liveDocumentSet(); |
| 2811 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 2808 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 2812 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it
) { | 2809 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it
) { |
| 2813 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut
f8().data()); | 2810 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut
f8().data()); |
| 2814 } | 2811 } |
| 2815 } | 2812 } |
| 2816 #endif | 2813 #endif |
| OLD | NEW |