Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: third_party/WebKit/Source/core/dom/SynchronousMutationObserver.h

Issue 2634713002: Remove PageVisibilityObserver contextDestroyed() notifications. (Closed)
Patch Set: prefer type aliases Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « third_party/WebKit/Source/core/dom/ContextLifecycleObserver.h ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698