Fix unhandled case for adjustScaleWithViewport()
authorChanghyup Jwa <ch.jwa@samsung.com>
Mon, 7 Oct 2013 13:58:32 +0000 (22:58 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 8 Oct 2013 06:33:08 +0000 (06:33 +0000)
commit57fc33491bb83cd185cb704cddb52285a0ccbd70
tree32e50e024d725acf519751d9ef8a32bf724f34e2
parentbd2859fa6551b45154c44de93b850e040fcf8f7d
Fix unhandled case for adjustScaleWithViewport()

[Title] Fix unhandled case for adjustScaleWithViewport()
[Issue#] P130912-03310
[Problem] adjustScaleWithViewport() returns incorrectly adjusted value even
        it's inside the minimum and maximum scale factor range
[Cause] adjustScaleWithViewport() is not handling the case of maximum scale
        factor is smaller than minimum scale factor
[Solution] Consider minimum scale factor as a maximum scale factor if minimum
        scale factor is larger than maximum scale factor

Change-Id: I1724dbb3736e55ad4e9e5ca9fd3568caf59f95b6
Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp