| Index: Source/WebCore/page/FrameView.cpp
|
| ===================================================================
|
| --- Source/WebCore/page/FrameView.cpp (revision 111645)
|
| +++ Source/WebCore/page/FrameView.cpp (working copy)
|
| @@ -1059,7 +1059,7 @@
|
|
|
| m_firstLayout = false;
|
| m_firstLayoutCallbackPending = true;
|
| - m_lastLayoutSize = LayoutSize(layoutWidth(), layoutHeight());
|
| + m_lastLayoutSize = LayoutSize(width(), height());
|
| m_lastZoomFactor = root->style()->zoom();
|
|
|
| // Set the initial vMode to AlwaysOn if we're auto.
|
| @@ -2308,7 +2308,7 @@
|
| m_actionScheduler->resume();
|
|
|
| if (!root->printing()) {
|
| - LayoutSize currentSize = LayoutSize(layoutWidth(), layoutHeight());
|
| + LayoutSize currentSize = LayoutSize(width(), height());
|
| float currentZoomFactor = root->style()->zoom();
|
| bool resized = !m_firstLayout && (currentSize != m_lastLayoutSize || currentZoomFactor != m_lastZoomFactor);
|
| m_lastLayoutSize = currentSize;
|
|
|