| Index: Source/core/rendering/RenderLayerCompositor.cpp
|
| diff --git a/Source/core/rendering/RenderLayerCompositor.cpp b/Source/core/rendering/RenderLayerCompositor.cpp
|
| index 48e046390cf6b97610f9269dcad22bf002bc8ed2..d5661030734ca635b5ad17133314138eb128cf87 100644
|
| --- a/Source/core/rendering/RenderLayerCompositor.cpp
|
| +++ b/Source/core/rendering/RenderLayerCompositor.cpp
|
| @@ -2135,29 +2135,11 @@ bool RenderLayerCompositor::isTrackingRepaints() const
|
| return m_isTrackingRepaints;
|
| }
|
|
|
| -float RenderLayerCompositor::deviceScaleFactor() const
|
| -{
|
| - Page* page = this->page();
|
| - return page ? page->deviceScaleFactor() : 1;
|
| -}
|
| -
|
| -float RenderLayerCompositor::pageScaleFactor() const
|
| -{
|
| - Page* page = this->page();
|
| - return page ? page->pageScaleFactor() : 1;
|
| -}
|
| -
|
| void RenderLayerCompositor::didCommitChangesForLayer(const GraphicsLayer*) const
|
| {
|
| // Nothing to do here yet.
|
| }
|
|
|
| -bool RenderLayerCompositor::keepLayersPixelAligned() const
|
| -{
|
| - // When scaling, attempt to align compositing layers to pixel boundaries.
|
| - return true;
|
| -}
|
| -
|
| static bool shouldCompositeOverflowControls(FrameView* view)
|
| {
|
| if (Page* page = view->frame()->page()) {
|
| @@ -2633,17 +2615,6 @@ bool RenderLayerCompositor::layerHas3DContent(const RenderLayer* layer) const
|
| return false;
|
| }
|
|
|
| -void RenderLayerCompositor::deviceOrPageScaleFactorChanged()
|
| -{
|
| - // Start at the RenderView's layer, since that's where the scale is applied.
|
| - RenderLayer* viewLayer = m_renderView->layer();
|
| - if (!viewLayer->isComposited())
|
| - return;
|
| -
|
| - if (GraphicsLayer* rootLayer = viewLayer->backing()->childForSuperlayers())
|
| - rootLayer->noteDeviceOrPageScaleFactorChangedIncludingDescendants();
|
| -}
|
| -
|
| static bool isRootmostFixedOrStickyLayer(RenderLayer* layer)
|
| {
|
| if (layer->renderer()->isStickyPositioned())
|
|
|