Qt minimum build fix after r154116.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Aug 2013 20:54:59 +0000 (20:54 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Aug 2013 20:54:59 +0000 (20:54 +0000)
* page/FrameView.cpp:
(WebCore::FrameView::sendResizeEventIfNeeded):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154128 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/page/FrameView.cpp

index 9333b75b490ce2c31eaab7f1caa6af702903bb94..356abd3c96ce14db98e3832ed06bbbd17eb1d14e 100644 (file)
@@ -1,3 +1,10 @@
+2013-08-15  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Qt minimum build fix after r154116.
+
+        * page/FrameView.cpp:
+        (WebCore::FrameView::sendResizeEventIfNeeded):
+
 2013-08-14  Filip Pizlo  <fpizlo@apple.com>
 
         Typed arrays should be rewritten
index f7a9060296f7880a3753c7d519075cb307124396..28f8c3d1d8191d2619521c9e4371ddb4d85deacd 100644 (file)
@@ -2833,7 +2833,6 @@ void FrameView::sendResizeEventIfNeeded()
     if (!renderView || renderView->printing())
         return;
 
-    Page* page = m_frame->page();
     IntSize currentSize;
     if (useFixedLayout() && !fixedLayoutSize().isEmpty() && delegatesScrolling())
         currentSize = fixedLayoutSize();
@@ -2860,6 +2859,7 @@ void FrameView::sendResizeEventIfNeeded()
         m_frame->document()->enqueueWindowEvent(resizeEvent.release());
 
 #if ENABLE(INSPECTOR)
+    Page* page = m_frame->page();
     if (InspectorInstrumentation::hasFrontends() && isMainFrame) {
         if (InspectorClient* inspectorClient = page ? page->inspectorController()->inspectorClient() : 0)
             inspectorClient->didResizeMainFrame(m_frame.get());