Index: third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h b/third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h |
index da8cddc2f52fc2365ff80098ac531085b5b2aac2..0445b84401043511440640b9884c5eecdaf4fa90 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h |
@@ -34,31 +34,20 @@ |
namespace blink { |
-class Document; |
class HTMLDocumentParser; |
class WebTaskRunner; |
-class ActiveParserSession : public NestingLevelIncrementer { |
+class PumpSession : public NestingLevelIncrementer { |
STACK_ALLOCATED(); |
public: |
- ActiveParserSession(unsigned& nestingLevel, Document*); |
- ~ActiveParserSession(); |
- |
-private: |
- RefPtrWillBeMember<Document> m_document; |
-}; |
- |
-class PumpSession : public ActiveParserSession { |
- STACK_ALLOCATED(); |
-public: |
- PumpSession(unsigned& nestingLevel, Document*); |
+ PumpSession(unsigned& nestingLevel); |
~PumpSession(); |
}; |
-class SpeculationsPumpSession : public ActiveParserSession { |
+class SpeculationsPumpSession : public NestingLevelIncrementer { |
STACK_ALLOCATED(); |
public: |
- SpeculationsPumpSession(unsigned& nestingLevel, Document*); |
+ SpeculationsPumpSession(unsigned& nestingLevel); |
~SpeculationsPumpSession(); |
double elapsedTime() const; |