Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 7c2143e5637f1fe5228752be6444390e080d600b..e6293fb33ce259c9d0f54d30d9b1b306078a92b6 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -2497,7 +2497,7 @@ void FrameView::updateWidgetPositionsIfNeeded() |
void FrameView::updateLayoutAndStyleForPainting() |
{ |
// Updating layout can run script, which can tear down the FrameView. |
- RefPtr<FrameView> protector(this); |
+ RefPtr<FrameView> protect(this); |
updateLayoutAndStyleIfNeededRecursive(); |