Index: Source/core/frame/Frame.cpp |
diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp |
index 4d88b036deb4a82bfa4b9f09c333bb30b5c24b9d..037fae03185a0dd517b936e55773ef3c1d146c87 100644 |
--- a/Source/core/frame/Frame.cpp |
+++ b/Source/core/frame/Frame.cpp |
@@ -337,7 +337,7 @@ void Frame::willDetachPage() |
if (page() && page()->scrollingCoordinator() && m_view) |
page()->scrollingCoordinator()->willDestroyScrollableArea(m_view.get()); |
- script()->clearScriptObjects(); |
+ script().clearScriptObjects(); |
} |
void Frame::detachFromPage() |