Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 9e54c16af26a4d3b3e0b77d7e4ea247ec6f65287..39ce0cb0dbac74e1fd8cd706b5aa4f2fa15390d0 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -2547,7 +2547,7 @@ void Document::shutdown() { |
styleEngine().didDetach(); |
- frameHost()->eventHandlerRegistry().documentDetached(*this); |
+ page()->eventHandlerRegistry().documentDetached(*this); |
// Signal destruction to mutation observers. |
SynchronousMutationNotifier::notifyContextDestroyed(); |