[Version] RC3
[Title] Image is not coming properly after rotation.
[BinType] N/A
[Customer] HQ
[Issue#] N_SE-42989
[Problem] Image is not coming properly after rotation
[Cause] m_viewportFitsToContent is not considered for calculating scale.
[Solution] check added for m_viewportFitsToContent.
[Team] WebCoreSupport
[Developer] deepak.m1@samsung.com
[Request] N/A
[Horizontal expansion] N/A
[SCMRequest] NA
Change-Id: I87c97190809379281d937f8fb2e95f04dd215ace
if (isRotated) {
m_viewportAngle = angle;
newScale = m_viewportConstraints.minimumScale * scaleRatioBeforeRotation;
+ if (m_viewportFitsToContent)
+ newScale = m_viewportConstraints.minimumScale;
newScrollPosition.scale(newScale / m_scaleFactor, newScale / m_scaleFactor);
}