| Index: sky/engine/core/rendering/RenderView.cpp
|
| diff --git a/sky/engine/core/rendering/RenderView.cpp b/sky/engine/core/rendering/RenderView.cpp
|
| index fa97d8d79d578ea426740cb78e4b37ab0156b1b7..bdc18522a27a752405303a395616a5ad01c82278 100644
|
| --- a/sky/engine/core/rendering/RenderView.cpp
|
| +++ b/sky/engine/core/rendering/RenderView.cpp
|
| @@ -275,28 +275,6 @@ void RenderView::paintBoxDecorationBackground(PaintInfo& paintInfo, const Layout
|
| }
|
| }
|
|
|
| -void RenderView::invalidateTreeIfNeeded(const PaintInvalidationState& paintInvalidationState)
|
| -{
|
| - ASSERT(!needsLayout());
|
| -
|
| - // We specifically need to issue paint invalidations for the viewRect since other renderers
|
| - // short-circuit on full-paint invalidation.
|
| - LayoutRect dirtyRect = viewRect();
|
| - if (doingFullPaintInvalidation() && !dirtyRect.isEmpty()) {
|
| - const RenderLayerModelObject* paintInvalidationContainer = &paintInvalidationState.paintInvalidationContainer();
|
| - mapRectToPaintInvalidationBacking(paintInvalidationContainer, dirtyRect, &paintInvalidationState);
|
| - }
|
| - RenderBlock::invalidateTreeIfNeeded(paintInvalidationState);
|
| -}
|
| -
|
| -void RenderView::invalidatePaintForRectangle(const LayoutRect& paintInvalidationRect) const
|
| -{
|
| - ASSERT(!paintInvalidationRect.isEmpty());
|
| -
|
| - if (m_frameView)
|
| - m_frameView->contentRectangleForPaintInvalidation(pixelSnappedIntRect(paintInvalidationRect));
|
| -}
|
| -
|
| void RenderView::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect& rect, const PaintInvalidationState* state) const
|
| {
|
| // Apply our transform if we have one (because of full page zooming).
|
| @@ -304,7 +282,6 @@ void RenderView::mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
|
| rect = layer()->transform()->mapRect(rect);
|
| }
|
|
|
| -
|
| void RenderView::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const
|
| {
|
| rects.append(pixelSnappedIntRect(accumulatedOffset, layer()->size()));
|
| @@ -551,7 +528,6 @@ void RenderView::getSelection(RenderObject*& startRenderer, int& startOffset, Re
|
|
|
| void RenderView::clearSelection()
|
| {
|
| - layer()->invalidatePaintForBlockSelectionGaps();
|
| setSelection(0, -1, 0, -1, PaintInvalidationNewMinusOld);
|
| }
|
|
|
|
|