Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
index 2b94715d0ecbb29575518815d8c9543d0edae911..7ef17335d21258044c08580ae0a076f0a1710ae3 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
@@ -81,6 +81,7 @@ |
#include "core/page/Page.h" |
#include "core/page/WindowFeatures.h" |
#include "core/page/scrolling/ScrollingCoordinator.h" |
+#include "core/page/scrolling/SnapCoordinator.h" |
#include "core/svg/graphics/SVGImage.h" |
#include "core/xml/parser/XMLDocumentParser.h" |
#include "platform/Logging.h" |
@@ -306,6 +307,7 @@ void FrameLoader::clear() |
m_frame->document()->removeFocusedElementOfSubtree(m_frame->document()); |
m_frame->selection().prepareForDestruction(); |
m_frame->eventHandler().clear(); |
+ |
if (m_frame->view()) |
m_frame->view()->clear(); |