| Index: third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h
|
| diff --git a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h
|
| index 6922c310f9bd1f8fe0f96648f79ad7e3cbc0b370..f07ad2ed8e47bed209e702f6f8c45083c16064ce 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h
|
| @@ -42,7 +42,7 @@ namespace blink {
|
|
|
| class HTMLDocumentParser;
|
| class XSSAuditor;
|
| -class WebScheduler;
|
| +class WebTaskRunner;
|
|
|
| class BackgroundHTMLParser {
|
| WTF_MAKE_FAST_ALLOCATED(BackgroundHTMLParser);
|
| @@ -63,7 +63,7 @@ public:
|
| size_t pendingTokenLimit;
|
| };
|
|
|
| - static void start(PassRefPtr<WeakReference<BackgroundHTMLParser>>, PassOwnPtr<Configuration>, WebScheduler*);
|
| + static void start(PassRefPtr<WeakReference<BackgroundHTMLParser>>, PassOwnPtr<Configuration>, WebTaskRunner*);
|
|
|
| struct Checkpoint {
|
| WTF_MAKE_FAST_ALLOCATED(CheckPoint);
|
| @@ -90,7 +90,7 @@ public:
|
| void forcePlaintextForTextDocument();
|
|
|
| private:
|
| - BackgroundHTMLParser(PassRefPtr<WeakReference<BackgroundHTMLParser>>, PassOwnPtr<Configuration>, WebScheduler*);
|
| + BackgroundHTMLParser(PassRefPtr<WeakReference<BackgroundHTMLParser>>, PassOwnPtr<Configuration>, WebTaskRunner*);
|
| ~BackgroundHTMLParser();
|
|
|
| void appendDecodedBytes(const String&);
|
| @@ -118,7 +118,7 @@ private:
|
| OwnPtr<TokenPreloadScanner> m_preloadScanner;
|
| OwnPtr<TextResourceDecoder> m_decoder;
|
| DocumentEncodingData m_lastSeenEncodingData;
|
| - WebScheduler* m_scheduler; // NOT OWNED, scheduler will outlive BackgroundHTMLParser
|
| + OwnPtr<WebTaskRunner> m_loadingTaskRunner;
|
|
|
| bool m_startingScript;
|
| };
|
|
|