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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All |
7 * rights reserved. | 7 * rights reserved. |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
(...skipping 5126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5137 if (!isRenderingReady()) | 5137 if (!isRenderingReady()) |
5138 return; | 5138 return; |
5139 if (LocalFrame* frame = this->frame()) { | 5139 if (LocalFrame* frame = this->frame()) { |
5140 // Avoid pumping frames for the initially empty document. | 5140 // Avoid pumping frames for the initially empty document. |
5141 if (!frame->loader().stateMachine()->committedFirstRealDocumentLoad()) | 5141 if (!frame->loader().stateMachine()->committedFirstRealDocumentLoad()) |
5142 return; | 5142 return; |
5143 // The compositor will "defer commits" for the main frame until we | 5143 // The compositor will "defer commits" for the main frame until we |
5144 // explicitly request them. | 5144 // explicitly request them. |
5145 if (frame->isMainFrame()) | 5145 if (frame->isMainFrame()) |
5146 frame->page()->chromeClient().beginLifecycleUpdates(); | 5146 frame->page()->chromeClient().beginLifecycleUpdates(); |
| 5147 if (frame->view()) |
| 5148 frame->view()->setupRenderThrottling(); |
5147 } | 5149 } |
5148 } | 5150 } |
5149 | 5151 |
5150 Vector<IconURL> Document::iconURLs(int iconTypesMask) { | 5152 Vector<IconURL> Document::iconURLs(int iconTypesMask) { |
5151 IconURL firstFavicon; | 5153 IconURL firstFavicon; |
5152 IconURL firstTouchIcon; | 5154 IconURL firstTouchIcon; |
5153 IconURL firstTouchPrecomposedIcon; | 5155 IconURL firstTouchPrecomposedIcon; |
5154 Vector<IconURL> secondaryIcons; | 5156 Vector<IconURL> secondaryIcons; |
5155 | 5157 |
5156 // Start from the last child node so that icons seen later take precedence as | 5158 // Start from the last child node so that icons seen later take precedence as |
(...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6393 } | 6395 } |
6394 | 6396 |
6395 void showLiveDocumentInstances() { | 6397 void showLiveDocumentInstances() { |
6396 WeakDocumentSet& set = liveDocumentSet(); | 6398 WeakDocumentSet& set = liveDocumentSet(); |
6397 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6399 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
6398 for (Document* document : set) | 6400 for (Document* document : set) |
6399 fprintf(stderr, "- Document %p URL: %s\n", document, | 6401 fprintf(stderr, "- Document %p URL: %s\n", document, |
6400 document->url().getString().utf8().data()); | 6402 document->url().getString().utf8().data()); |
6401 } | 6403 } |
6402 #endif | 6404 #endif |
OLD | NEW |