[Title] Remove setAccurateVisibleContentsPosition codes because it is not needed anymore.
[Issue#] N/A
[Problem] The setAccurateVisibleContentsPosition codes are not needed anymore.
[Cause] We call the initializeVisibleContentRect() and it set the accurateVisibleContentsPosition by
calling setVisibleContentRect(), so we don't have to set accurateVisibleContentsPosition separately anymore.
I know the setAccurateVisibleContentsPosition() is added for fixing N_SE-15113,
and I've checked that defect does not occur without setAccurateVisibleContentsPosition() codes now.
[Solution] Remove setAccurateVisibleContentsPosition codes.
Change-Id: I6f4ebbe851276d826dede142306691993f10e4be
m_shouldShowBackupTexture = false;
#endif
if (!m_pageDidRendered) {
- // adjustPositionForFixedLayers is calclulated based on m_drawingScrollPosition values which initially set.
- // We need to set this values here, otherwise while navigating to new page, m_accurateVisibleContentsPosition will be having the previous scrolled position
- // which makes positioning of the FixedLayer on wrong place
- drawingArea()->setAccurateVisibleContentsPosition(FloatPoint(m_visibleContentRect.location()));
m_pageDidRendered = true;
initializeVisibleContentRect();
-
}
}
virtual void didSuspendPainting() { }
#endif
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
- virtual void setAccurateVisibleContentsPosition(const WebCore::FloatPoint& accurateVisibleContentsPosition) { }
-#endif
-
protected:
explicit DrawingAreaProxy(DrawingAreaType, WebPageProxy*);
}
#endif
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
-void DrawingAreaProxyImpl::setAccurateVisibleContentsPosition(const WebCore::FloatPoint& accurateVisibleContentsPosition)
-{
- if (m_layerTreeCoordinatorProxy)
- m_layerTreeCoordinatorProxy->setAccurateVisibleContentsPosition(accurateVisibleContentsPosition);
-}
-#endif
-
} // namespace WebKit
bool isInAcceleratedCompositingMode() const { return false; }
#endif
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
- virtual void setAccurateVisibleContentsPosition(const WebCore::FloatPoint& accurateVisibleContentsPosition);
-#endif
-
virtual void pageCustomRepresentationChanged();
void discardBackingStoreSoon();
}
#endif
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
-void LayerTreeCoordinatorProxy::setAccurateVisibleContentsPosition(const WebCore::FloatPoint& accurateVisibleContentsPosition)
-{
- if (m_renderer)
- m_renderer->setAccurateVisibleContentsPosition(accurateVisibleContentsPosition);
-}
-#endif
-
}
#endif // USE(UI_SIDE_COMPOSITING)
void initializeAcceleratedCompositingMode(bool isGLMode);
#endif
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
- virtual void setAccurateVisibleContentsPosition(const WebCore::FloatPoint& accurateVisibleContentsPosition);
-#endif
-
protected:
void dispatchUpdate(const Function<void()>&);
m_contentsSize = contentsSize;
}
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
-void WebLayerTreeRenderer::setAccurateVisibleContentsPosition(const WebCore::FloatPoint& accurateVisibleContentsPosition)
-{
- m_accurateVisibleContentsPosition = accurateVisibleContentsPosition;
-}
-#endif
-
void WebLayerTreeRenderer::setVisibleContentsRect(const IntRect& rect, float scale, const WebCore::FloatPoint& accurateVisibleContentsPosition)
{
m_visibleContentsRect = rect;
void updateViewportFired();
#endif
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
- virtual void setAccurateVisibleContentsPosition(const WebCore::FloatPoint& accurateVisibleContentsPosition);
-#endif
-
private:
#if ENABLE(TIZEN_RUNTIME_BACKEND_SELECTION)
protected: