Build fix for Mac
[WebKit-https.git] / WebCore / page / FrameView.cpp
index 27f39dec50dba654394cba7673c03c111885f572..24013cd7309f06d131fc7d7fae318cca6c4be1ff 100644 (file)
@@ -928,6 +928,7 @@ void FrameView::setWasScrolledByUser(bool wasScrolledByUser)
     d->m_wasScrolledByUser = wasScrolledByUser;
 }
 
+#if PLATFORM(WIN) || PLATFORM(GDK)
 void FrameView::layoutIfNeededRecursive()
 {
     // We have to crawl our entire tree looking for any FrameViews that need
@@ -948,5 +949,6 @@ void FrameView::layoutIfNeededRecursive()
         if ((*current)->isFrameView())
             static_cast<FrameView*>(*current)->layoutIfNeededRecursive();
 }
+#endif
 
 }