| 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 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1675 | 1675 |
| 1676 RefPtr<FrameView> protect(this); | 1676 RefPtr<FrameView> protect(this); |
| 1677 | 1677 |
| 1678 // If there fixed position elements, scrolling may cause compositing layers
to change. | 1678 // If there fixed position elements, scrolling may cause compositing layers
to change. |
| 1679 // Update widget and layer positions after scrolling, but only if we're not
inside of | 1679 // Update widget and layer positions after scrolling, but only if we're not
inside of |
| 1680 // layout. | 1680 // layout. |
| 1681 if (!m_nestedLayoutCount) { | 1681 if (!m_nestedLayoutCount) { |
| 1682 updateWidgetPositions(); | 1682 updateWidgetPositions(); |
| 1683 if (RenderView* renderView = this->renderView()) { | 1683 if (RenderView* renderView = this->renderView()) { |
| 1684 renderView->layer()->updateLayerPositionsAfterDocumentScroll(); | 1684 renderView->layer()->updateLayerPositionsAfterDocumentScroll(); |
| 1685 renderView->layer()->setNeedsToUpdateAncestorDependentProperties(); | 1685 renderView->layer()->setNeedsCompositingInputsUpdate(); |
| 1686 renderView->compositor()->setNeedsCompositingUpdate(CompositingUpdat
eAfterCompositingInputChange); | 1686 renderView->compositor()->setNeedsCompositingUpdate(CompositingUpdat
eAfterCompositingInputChange); |
| 1687 } | 1687 } |
| 1688 } | 1688 } |
| 1689 } | 1689 } |
| 1690 | 1690 |
| 1691 void FrameView::updateFixedElementPaintInvalidationRectsAfterScroll() | 1691 void FrameView::updateFixedElementPaintInvalidationRectsAfterScroll() |
| 1692 { | 1692 { |
| 1693 if (!hasViewportConstrainedObjects()) | 1693 if (!hasViewportConstrainedObjects()) |
| 1694 return; | 1694 return; |
| 1695 | 1695 |
| (...skipping 1566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3262 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3262 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
| 3263 { | 3263 { |
| 3264 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3264 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
| 3265 if (AXObjectCache* cache = axObjectCache()) { | 3265 if (AXObjectCache* cache = axObjectCache()) { |
| 3266 cache->remove(scrollbar); | 3266 cache->remove(scrollbar); |
| 3267 cache->handleScrollbarUpdate(this); | 3267 cache->handleScrollbarUpdate(this); |
| 3268 } | 3268 } |
| 3269 } | 3269 } |
| 3270 | 3270 |
| 3271 } // namespace WebCore | 3271 } // namespace WebCore |
| OLD | NEW |