Index: Source/core/page/Frame.cpp |
diff --git a/Source/core/page/Frame.cpp b/Source/core/page/Frame.cpp |
index 427c4dddea1da8d07fbf6536f623af63617ee520..2f682678c19a58acf9c538b18a7e12911d6a45d3 100644 |
--- a/Source/core/page/Frame.cpp |
+++ b/Source/core/page/Frame.cpp |
@@ -463,7 +463,7 @@ PassRefPtr<Range> Frame::rangeForPoint(const IntPoint& framePoint) |
} |
void Frame::createView(const IntSize& viewportSize, const Color& backgroundColor, bool transparent, |
- const IntSize& fixedLayoutSize, bool useFixedLayout, ScrollbarMode horizontalScrollbarMode, bool horizontalLock, |
+ ScrollbarMode horizontalScrollbarMode, bool horizontalLock, |
ScrollbarMode verticalScrollbarMode, bool verticalLock) |
{ |
ASSERT(this); |
@@ -477,11 +477,9 @@ void Frame::createView(const IntSize& viewportSize, const Color& backgroundColor |
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); |