Index: sky/engine/core/loader/FrameLoader.cpp |
diff --git a/sky/engine/core/loader/FrameLoader.cpp b/sky/engine/core/loader/FrameLoader.cpp |
index 8309e7bcd8e7136d764f9f4a9111f26aa8deba3b..6327100d9f13b0e1ab5ef4b030fdc77458ff456c 100644 |
--- a/sky/engine/core/loader/FrameLoader.cpp |
+++ b/sky/engine/core/loader/FrameLoader.cpp |
@@ -130,13 +130,7 @@ void FrameLoader::finishedParsing() |
// because doing so will cause us to re-enter the destructor when protector goes out of scope. |
// Null-checking the FrameView indicates whether or not we're in the destructor. |
RefPtr<LocalFrame> protector = m_frame->view() ? m_frame : 0; |
- |
m_frame->document()->checkCompleted(); |
- |
- // Check if the scrollbars are really needed for the content. |
- // If not, remove them, relayout, and repaint. |
- if (m_frame->view()) |
- m_frame->view()->restoreScrollbar(); |
} |
void FrameLoader::reportLocalLoadFailed(LocalFrame* frame, const String& url) |