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

Unified Diff: Source/core/html/parser/HTMLTreeBuilder.h

Issue 298043008: [Oilpan]: Move HTMLStackItem and friends to the oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix windows build 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 | « Source/core/html/parser/HTMLStackItem.h ('k') | Source/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLTreeBuilder.h
diff --git a/Source/core/html/parser/HTMLTreeBuilder.h b/Source/core/html/parser/HTMLTreeBuilder.h
index d2569dfe41229ba795933fc8c4e8503c62f67fa3..9c9dcdfae8def31d70cad8c15cdd4e690f53c008 100644
--- a/Source/core/html/parser/HTMLTreeBuilder.h
+++ b/Source/core/html/parser/HTMLTreeBuilder.h
@@ -196,6 +196,7 @@ private:
class FragmentParsingContext {
WTF_MAKE_NONCOPYABLE(FragmentParsingContext);
+ DISALLOW_ALLOCATION();
public:
FragmentParsingContext();
FragmentParsingContext(DocumentFragment*, Element* contextElement);
@@ -205,9 +206,11 @@ private:
Element* contextElement() const { ASSERT(m_fragment); return m_contextElementStackItem->element(); }
HTMLStackItem* contextElementStackItem() const { ASSERT(m_fragment); return m_contextElementStackItem.get(); }
+ void trace(Visitor*);
+
private:
- DocumentFragment* m_fragment;
- RefPtr<HTMLStackItem> m_contextElementStackItem;
+ RawPtrWillBeMember<DocumentFragment> m_fragment;
+ RefPtrWillBeMember<HTMLStackItem> m_contextElementStackItem;
};
bool m_framesetOk;
« no previous file with comments | « Source/core/html/parser/HTMLStackItem.h ('k') | Source/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698