| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 1801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1812 updateWidget(object); | 1812 updateWidget(object); |
| 1813 m_widgetUpdateSet->remove(object); | 1813 m_widgetUpdateSet->remove(object); |
| 1814 } | 1814 } |
| 1815 | 1815 |
| 1816 RenderArena* arena = m_frame->document()->renderArena(); | 1816 RenderArena* arena = m_frame->document()->renderArena(); |
| 1817 for (size_t i = 0; i < size; ++i) | 1817 for (size_t i = 0; i < size; ++i) |
| 1818 objects[i]->deref(arena); | 1818 objects[i]->deref(arena); |
| 1819 | 1819 |
| 1820 return m_widgetUpdateSet->isEmpty(); | 1820 return m_widgetUpdateSet->isEmpty(); |
| 1821 } | 1821 } |
| 1822 | 1822 |
| 1823 void FrameView::flushAnyPendingPostLayoutTasks() |
| 1824 { |
| 1825 if (!m_hasPendingPostLayoutTasks) |
| 1826 return; |
| 1827 |
| 1828 m_postLayoutTasksTimer.stop(); |
| 1829 performPostLayoutTasks(); |
| 1830 } |
| 1831 |
| 1823 void FrameView::performPostLayoutTasks() | 1832 void FrameView::performPostLayoutTasks() |
| 1824 { | 1833 { |
| 1825 m_hasPendingPostLayoutTasks = false; | 1834 m_hasPendingPostLayoutTasks = false; |
| 1826 | 1835 |
| 1827 if (m_firstLayoutCallbackPending) { | 1836 if (m_firstLayoutCallbackPending) { |
| 1828 m_firstLayoutCallbackPending = false; | 1837 m_firstLayoutCallbackPending = false; |
| 1829 m_frame->loader()->didFirstLayout(); | 1838 m_frame->loader()->didFirstLayout(); |
| 1830 } | 1839 } |
| 1831 | 1840 |
| 1832 if (m_isVisuallyNonEmpty && m_firstVisuallyNonEmptyLayoutCallbackPending) { | 1841 if (m_isVisuallyNonEmpty && m_firstVisuallyNonEmptyLayoutCallbackPending) { |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2519 } | 2528 } |
| 2520 | 2529 |
| 2521 AXObjectCache* FrameView::axObjectCache() const | 2530 AXObjectCache* FrameView::axObjectCache() const |
| 2522 { | 2531 { |
| 2523 if (frame() && frame()->document() && frame()->document()->axObjectCacheExis
ts()) | 2532 if (frame() && frame()->document() && frame()->document()->axObjectCacheExis
ts()) |
| 2524 return frame()->document()->axObjectCache(); | 2533 return frame()->document()->axObjectCache(); |
| 2525 return 0; | 2534 return 0; |
| 2526 } | 2535 } |
| 2527 | 2536 |
| 2528 } // namespace WebCore | 2537 } // namespace WebCore |
| OLD | NEW |