https://bugs.webkit.org/show_bug.cgi?id=132352
Reviewed by Andreas Kling.
Source/WebCore:
The usesCompositedScrolling setting was only used by Chromium, so
remove it and associated code.
* page/FrameView.cpp:
(WebCore::FrameView::usesCompositedScrolling): Deleted.
* page/FrameView.h:
* page/Settings.in:
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateScrollLayerPosition):
LayoutTests:
* compositing/iframes/iframe-composited-scrolling-expected.txt: Removed.
* compositing/iframes/iframe-composited-scrolling.html: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@167969
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-04-29 Simon Fraser <simon.fraser@apple.com>
+
+ Remove Settings::compositedScrollingForFramesEnabled
+ https://bugs.webkit.org/show_bug.cgi?id=132352
+
+ Reviewed by Andreas Kling.
+
+ * compositing/iframes/iframe-composited-scrolling-expected.txt: Removed.
+ * compositing/iframes/iframe-composited-scrolling.html: Removed.
+
2014-04-29 David Hyatt <hyatt@apple.com>
[New Multicolumn] Implement support for compositing
+++ /dev/null
-<!DOCTYPE html>
-<html>
-<head>
- <style>
- iframe {
- height: 150px;
- width: 150px;
- }
- </style>
- <script>
- if (window.internals) {
- internals.settings.setForceCompositingMode(true);
- internals.settings.setCompositedScrollingForFramesEnabled(true);
- }
- function doTest()
- {
- if (window.testRunner) {
- testRunner.dumpAsText(false);
- if (window.internals)
- document.getElementById("result").innerText = window.internals.nonFastScrollableRects().length ? "FAIL" : "PASS";
- }
- }
- window.addEventListener("load", doTest, false);
- </script>
-</head>
-<body>
- <iframe id="scrollable-iframe" src="resources/subframe.html" style="width: 100px; height: 100px"></iframe>
- <iframe id="non-scrollable-iframe" src="resources/subframe.html" style="width: 2000px; height: 2000px"></iframe>
- <pre id="result"></pre>
-</body>
-</html>
+2014-04-29 Simon Fraser <simon.fraser@apple.com>
+
+ Remove Settings::compositedScrollingForFramesEnabled
+ https://bugs.webkit.org/show_bug.cgi?id=132352
+
+ Reviewed by Andreas Kling.
+
+ The usesCompositedScrolling setting was only used by Chromium, so
+ remove it and associated code.
+
+ * page/FrameView.cpp:
+ (WebCore::FrameView::usesCompositedScrolling): Deleted.
+ * page/FrameView.h:
+ * page/Settings.in:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateScrollLayerPosition):
+
2014-04-29 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com>
Move removeEquivalentProperties functions to EditingStyle
compositor.updateCompositingLayers(CompositingUpdateAfterLayout);
}
-bool FrameView::usesCompositedScrolling() const
-{
- RenderView* renderView = this->renderView();
- if (!renderView)
- return false;
- if (frame().settings().compositedScrollingForFramesEnabled())
- return renderView->compositor().inForcedCompositingMode();
- return false;
-}
-
GraphicsLayer* FrameView::layerForScrolling() const
{
RenderView* renderView = this->renderView();
virtual ScrollableArea* enclosingScrollableArea() const override;
virtual IntRect scrollableAreaBoundingBox() const override;
virtual bool scrollAnimatorEnabled() const override;
- virtual bool usesCompositedScrolling() const override;
virtual GraphicsLayer* layerForScrolling() const override;
virtual GraphicsLayer* layerForHorizontalScrollbar() const override;
virtual GraphicsLayer* layerForVerticalScrollbar() const override;
acceleratedCompositingForFixedPositionEnabled initial=defaultAcceleratedCompositingForFixedPositionEnabled
acceleratedCompositingForOverflowScrollEnabled initial=false
-# Works only in conjunction with forceCompositingMode.
-compositedScrollingForFramesEnabled initial=false
-
experimentalNotificationsEnabled initial=false
webGLEnabled initial=false
webGLErrorsToConsoleEnabled initial=true
FrameView& frameView = m_renderView.frameView();
IntPoint scrollPosition = frameView.scrollPosition();
- const Settings& settings = m_renderView.frameView().frame().settings();
- if (settings.compositedScrollingForFramesEnabled()) {
- if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
- scrollingCoordinator->scrollableAreaScrollLayerDidChange(&frameView);
- }
-
m_scrollLayer->setPosition(FloatPoint(-scrollPosition.x(), -scrollPosition.y()));
if (GraphicsLayer* fixedBackgroundLayer = fixedRootBackgroundLayer())