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

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

Issue 1087203002: Patch 2/3 to get WebScheduler via WebThread (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Style nits Created 5 years, 8 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/dom/ScriptRunnerTest.cpp ('k') | Source/core/html/parser/BackgroundHTMLParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/BackgroundHTMLParser.h
diff --git a/Source/core/html/parser/BackgroundHTMLParser.h b/Source/core/html/parser/BackgroundHTMLParser.h
index 0f1a7883229e8c8236142e3cd33de7980c700463..d283adfc215fb4f3e4b9d15a9cd1b7461c6a519b 100644
--- a/Source/core/html/parser/BackgroundHTMLParser.h
+++ b/Source/core/html/parser/BackgroundHTMLParser.h
@@ -41,8 +41,8 @@
namespace blink {
class HTMLDocumentParser;
-class Scheduler;
class XSSAuditor;
+class WebScheduler;
class BackgroundHTMLParser {
WTF_MAKE_FAST_ALLOCATED(BackgroundHTMLParser);
@@ -55,7 +55,7 @@ public:
OwnPtr<TextResourceDecoder> decoder;
};
- static void start(PassRefPtr<WeakReference<BackgroundHTMLParser>>, PassOwnPtr<Configuration>, Scheduler*);
+ static void start(PassRefPtr<WeakReference<BackgroundHTMLParser>>, PassOwnPtr<Configuration>, WebScheduler*);
struct Checkpoint {
WeakPtr<HTMLDocumentParser> parser;
@@ -80,7 +80,7 @@ public:
void forcePlaintextForTextDocument();
private:
- BackgroundHTMLParser(PassRefPtr<WeakReference<BackgroundHTMLParser>>, PassOwnPtr<Configuration>, Scheduler*);
+ BackgroundHTMLParser(PassRefPtr<WeakReference<BackgroundHTMLParser>>, PassOwnPtr<Configuration>, WebScheduler*);
~BackgroundHTMLParser();
void appendDecodedBytes(const String&);
@@ -106,7 +106,7 @@ private:
OwnPtr<TokenPreloadScanner> m_preloadScanner;
OwnPtr<TextResourceDecoder> m_decoder;
DocumentEncodingData m_lastSeenEncodingData;
- Scheduler* m_scheduler; // NOT OWNED, scheduler will outlive BackgroundHTMLParser
+ WebScheduler* m_scheduler; // NOT OWNED, scheduler will outlive BackgroundHTMLParser
bool m_startingScript;
};
« no previous file with comments | « Source/core/dom/ScriptRunnerTest.cpp ('k') | Source/core/html/parser/BackgroundHTMLParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698