[EFL][WK2] MiniBrowser scale up/down infinitely after r161087
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Dec 2013 08:44:24 +0000 (08:44 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Dec 2013 08:44:24 +0000 (08:44 +0000)
commit679d4ad715b8a3dcb9d870e6d8797ce7f8b9eac0
tree7d4442978d0a5fbe4156618e51699a8b029a7e0d
parentaffee6073585e33d3a547d7f9c4ad51bd9f63e70
[EFL][WK2] MiniBrowser scale up/down infinitely after r161087
https://bugs.webkit.org/show_bug.cgi?id=126254

Reviewed by Gyuyoung Kim.

After r161087, contentScaleFactor of WebView is synced with pageScaleFactor
of WebPage. It means that WKViewGetContentScaleFactor might not be same
with PageViewportController's current scale value until received PageScaleFactorDidChange.

* UIProcess/efl/PageViewportControllerClientEfl.cpp:
(WebKit::PageViewportControllerClientEfl::setViewportPosition):
Use controller's current scale just to update and sync the position.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/efl/PageViewportControllerClientEfl.cpp