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

Unified Diff: Source/core/xml/XMLTreeViewer.h

Issue 339703004: Oilpan: Make sure XMLTreeViewer::m_document is traceable. (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLTreeViewer.h
diff --git a/Source/core/xml/XMLTreeViewer.h b/Source/core/xml/XMLTreeViewer.h
index a9d0b0ef7f5679de38665d3b9b8b1068ca2ad25a..286ad044c0e6b7186136e90f5d6c61f8e4dde812 100644
--- a/Source/core/xml/XMLTreeViewer.h
+++ b/Source/core/xml/XMLTreeViewer.h
@@ -29,18 +29,21 @@
#ifndef XMLTreeViewer_h
#define XMLTreeViewer_h
+#include "platform/heap/Handle.h"
+
namespace WebCore {
class Document;
class XMLTreeViewer FINAL {
+ STACK_ALLOCATED();
public:
explicit XMLTreeViewer(Document*);
void transformDocumentToTreeView();
private:
- Document* m_document;
+ RawPtrWillBeMember<Document> m_document;
};
} // namespace WebCore
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698