Index: third_party/WebKit/Source/core/dom/SynchronousMutationObserver.h |
diff --git a/third_party/WebKit/Source/core/dom/SynchronousMutationObserver.h b/third_party/WebKit/Source/core/dom/SynchronousMutationObserver.h |
index b52fb0bbb2899d3c60288a1758f604b5798f051f..7a4c3005f496d4541a94ecc57800b5486fdf1b25 100644 |
--- a/third_party/WebKit/Source/core/dom/SynchronousMutationObserver.h |
+++ b/third_party/WebKit/Source/core/dom/SynchronousMutationObserver.h |
@@ -65,6 +65,9 @@ class CORE_EXPORT SynchronousMutationObserver |
// Called before removing node. |
virtual void nodeWillBeRemoved(Node&); |
+ // Called when detaching document. |
+ virtual void contextDestroyed(Document*) {} |
+ |
protected: |
SynchronousMutationObserver(); |