Changeset 167969 in webkit
- Timestamp:
- Apr 29, 2014, 4:53:55 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 6 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/compositing/iframes/iframe-composited-scrolling-expected.txt (deleted)
-
LayoutTests/compositing/iframes/iframe-composited-scrolling.html (deleted)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/page/FrameView.cpp (modified) (1 diff)
-
Source/WebCore/page/FrameView.h (modified) (1 diff)
-
Source/WebCore/page/Settings.in (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayerCompositor.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r167965 r167969 1 2014-04-29 Simon Fraser <simon.fraser@apple.com> 2 3 Remove Settings::compositedScrollingForFramesEnabled 4 https://bugs.webkit.org/show_bug.cgi?id=132352 5 6 Reviewed by Andreas Kling. 7 8 * compositing/iframes/iframe-composited-scrolling-expected.txt: Removed. 9 * compositing/iframes/iframe-composited-scrolling.html: Removed. 10 1 11 2014-04-29 David Hyatt <hyatt@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r167967 r167969 1 2014-04-29 Simon Fraser <simon.fraser@apple.com> 2 3 Remove Settings::compositedScrollingForFramesEnabled 4 https://bugs.webkit.org/show_bug.cgi?id=132352 5 6 Reviewed by Andreas Kling. 7 8 The usesCompositedScrolling setting was only used by Chromium, so 9 remove it and associated code. 10 11 * page/FrameView.cpp: 12 (WebCore::FrameView::usesCompositedScrolling): Deleted. 13 * page/FrameView.h: 14 * page/Settings.in: 15 * rendering/RenderLayerCompositor.cpp: 16 (WebCore::RenderLayerCompositor::updateScrollLayerPosition): 17 1 18 2014-04-29 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com> 2 19 -
trunk/Source/WebCore/page/FrameView.cpp
r167911 r167969 753 753 } 754 754 755 bool FrameView::usesCompositedScrolling() const756 {757 RenderView* renderView = this->renderView();758 if (!renderView)759 return false;760 if (frame().settings().compositedScrollingForFramesEnabled())761 return renderView->compositor().inForcedCompositingMode();762 return false;763 }764 765 755 GraphicsLayer* FrameView::layerForScrolling() const 766 756 { -
trunk/Source/WebCore/page/FrameView.h
r167630 r167969 556 556 virtual IntRect scrollableAreaBoundingBox() const override; 557 557 virtual bool scrollAnimatorEnabled() const override; 558 virtual bool usesCompositedScrolling() const override;559 558 virtual GraphicsLayer* layerForScrolling() const override; 560 559 virtual GraphicsLayer* layerForHorizontalScrollbar() const override; -
trunk/Source/WebCore/page/Settings.in
r167786 r167969 98 98 acceleratedCompositingForOverflowScrollEnabled initial=false 99 99 100 # Works only in conjunction with forceCompositingMode.101 compositedScrollingForFramesEnabled initial=false102 103 100 experimentalNotificationsEnabled initial=false 104 101 webGLEnabled initial=false -
trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp
r167965 r167969 1573 1573 IntPoint scrollPosition = frameView.scrollPosition(); 1574 1574 1575 const Settings& settings = m_renderView.frameView().frame().settings();1576 if (settings.compositedScrollingForFramesEnabled()) {1577 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())1578 scrollingCoordinator->scrollableAreaScrollLayerDidChange(&frameView);1579 }1580 1581 1575 m_scrollLayer->setPosition(FloatPoint(-scrollPosition.x(), -scrollPosition.y())); 1582 1576
Note:
See TracChangeset
for help on using the changeset viewer.