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

Side by Side Diff: Source/WebCore/page/FrameView.cpp

Issue 6286151: Merge 77706 - 2011-02-04 Adam Barth <abarth@webkit.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 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
« no previous file with comments | « Source/WebCore/page/FrameView.h ('k') | Tools/ChangeLog » ('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) 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
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
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
OLDNEW
« no previous file with comments | « Source/WebCore/page/FrameView.h ('k') | Tools/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698