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

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

Issue 293113008: Oilpan: add missing tracing of Attr objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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/Attr.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Attr.h
diff --git a/Source/core/dom/Attr.h b/Source/core/dom/Attr.h
index 171bab01fafa2de087270c12a1cfdeb6b42a47b9..dbc9dd3c519686265dd53d9729ee8196d1e24165 100644
--- a/Source/core/dom/Attr.h
+++ b/Source/core/dom/Attr.h
@@ -63,6 +63,8 @@ public:
virtual const AtomicString& namespaceURI() const OVERRIDE { return m_name.namespaceURI(); }
const AtomicString& prefix() const { return m_name.prefix(); }
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
Attr(Element&, const QualifiedName&);
Attr(Document&, const QualifiedName&, const AtomicString& value);
@@ -87,7 +89,7 @@ private:
// Attr wraps either an element/name, or a name/value pair (when it's a standalone Node.)
// Note that m_name is always set, but m_element/m_standaloneValue may be null.
- Element* m_element;
+ RawPtrWillBeMember<Element> m_element;
QualifiedName m_name;
AtomicString m_standaloneValue;
unsigned m_ignoreChildrenChanged;
« no previous file with comments | « no previous file | Source/core/dom/Attr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698