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

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

Issue 313033003: Oilpan: Make ActiveParserSession::m_document 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 | Source/core/html/parser/NestingLevelIncrementer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLParserScheduler.h
diff --git a/Source/core/html/parser/HTMLParserScheduler.h b/Source/core/html/parser/HTMLParserScheduler.h
index da4336d414f52796b1da9a8f147cb6a53f2ee234..4e3364edfbffe48bdd9cfb543ce2247800fd0a86 100644
--- a/Source/core/html/parser/HTMLParserScheduler.h
+++ b/Source/core/html/parser/HTMLParserScheduler.h
@@ -38,15 +38,17 @@ class Document;
class HTMLDocumentParser;
class ActiveParserSession {
+ STACK_ALLOCATED();
public:
explicit ActiveParserSession(Document*);
~ActiveParserSession();
private:
- RefPtr<Document> m_document;
+ RefPtrWillBeMember<Document> m_document;
};
class PumpSession : public NestingLevelIncrementer, public ActiveParserSession {
+ STACK_ALLOCATED();
public:
PumpSession(unsigned& nestingLevel, Document*);
~PumpSession();
« no previous file with comments | « no previous file | Source/core/html/parser/NestingLevelIncrementer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698