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

Unified Diff: Source/core/dom/Document.h

Issue 336293002: Oilpan: Trace DocumentVisibilityObserver::m_document. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 3bb563310a5060d65c17d754a97c7798218e964d..824907a7cf40870981f12ecf1af2e2cf2c1a8fe9 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -225,10 +225,14 @@ public:
// DocumentVisibilityObserver::setDocument
void setObservedDocument(Document&);
+protected:
+ void trace(Visitor*);
+
private:
void registerObserver(Document&);
void unregisterObserver();
- Document* m_document;
+
+ RawPtrWillBeMember<Document> m_document;
};
class Document : public ContainerNode, public TreeScope, public SecurityContext, public ExecutionContext, public ExecutionContextClient
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698