Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index 5b99e2447551fcdf6791ca0361d77cc3166ce228..fde636cf5111ca9a54cbbaa8458b04e4b80896e8 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -775,6 +775,7 @@ void WebLocalFrameImpl::dispatchUnloadEvent() |
{ |
if (!frame()) |
return; |
+ SubframeLoadingDisabler disabler(frame()->document()); |
frame()->loader().dispatchUnloadEvent(); |
} |