Pass adjusted scale factor to DrawingArea
authorChanghyup Jwa <ch.jwa@samsung.com>
Mon, 8 Apr 2013 02:11:20 +0000 (11:11 +0900)
committerChanghyup Jwa <ch.jwa@samsung.com>
Mon, 8 Apr 2013 08:23:57 +0000 (17:23 +0900)
[Title] Pass adjusted scale factor to DrawingArea
[Issue#] N_SE-32019
[Problem] Page is blurred when we back to error page
[Cause] Unadjusted scale factor is passed to DrawingArea
[Solution] Pass adjusted scale factor to DrawingArea

Change-Id: Ie6ccfcaab7b49fa75076fdcddc43ec6f0bd89eeb

Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp

index 4694e79..99691c1 100755 (executable)
@@ -826,7 +826,7 @@ void PageClientImpl::setVisibleContentRect(const IntRect& newRect, float newScal
                                                       ceilf(m_visibleContentRect.height() / m_scaleFactor));
     if (!drawingArea())
         return;
-    drawingArea()->setVisibleContentsRect(mapToContentsVisibleContentRect, newScale, trajectory, FloatPoint(m_viewImpl->scrollPosition()));
+    drawingArea()->setVisibleContentsRect(mapToContentsVisibleContentRect, m_scaleFactor, trajectory, FloatPoint(m_viewImpl->scrollPosition()));
 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION_ON_UI_SIDE)
     // FIXME: We need to calculate exact visibleRect size here instead of mapToContentsVisibleContentRect.
     drawingArea()->setVisibleContentsRectForScrollingContentsLayers(mapToContentsVisibleContentRect);