Index: Source/core/page/Frame.cpp |
diff --git a/Source/core/page/Frame.cpp b/Source/core/page/Frame.cpp |
index 9d0536fea510285e07788be1e71882e5df61d010..31abcea523050b346a520e3a7f1de028ab125301 100644 |
--- a/Source/core/page/Frame.cpp |
+++ b/Source/core/page/Frame.cpp |
@@ -460,7 +460,7 @@ PassRefPtr<Range> Frame::rangeForPoint(const IntPoint& framePoint) |
} |
void Frame::createView(const IntSize& viewportSize, const StyleColor& backgroundColor, bool transparent, |
- const IntSize& fixedLayoutSize, bool useFixedLayout, ScrollbarMode horizontalScrollbarMode, bool horizontalLock, |
+ ScrollbarMode horizontalScrollbarMode, bool horizontalLock, |
ScrollbarMode verticalScrollbarMode, bool verticalLock) |
{ |
ASSERT(this); |
@@ -474,11 +474,9 @@ void Frame::createView(const IntSize& viewportSize, const StyleColor& background |
setView(0); |
RefPtr<FrameView> frameView; |
- if (isMainFrame) { |
+ if (isMainFrame) |
frameView = FrameView::create(this, viewportSize); |
- frameView->setFixedLayoutSize(fixedLayoutSize); |
- frameView->setUseFixedLayout(useFixedLayout); |
- } else |
+ else |
frameView = FrameView::create(this); |
frameView->setScrollbarModes(horizontalScrollbarMode, verticalScrollbarMode, horizontalLock, verticalLock); |