[Title] Avoid unnecessary initial function call(setVisibleContentRect)
[Issue#] SE-45071
[Problem] JS window.innerHeight sometimes returns incorrect value
[Cause] There was unnecessary and incorrect function call before page rendering
[Solution] Remove this function call before page rendering
Change-Id: I780ee6e58696843b75d15ecde8c8d8eb96128a91
// Initially, m_scaleFactor is not decided yet.
// So, we should update visible content rect at here.
if (!m_scaleFactor) {
- setVisibleContentRect(m_visibleContentRect, m_viewportConstraints.initialScale);
+ m_scaleFactor = m_viewportConstraints.initialScale;
return;
}