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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.h

Issue 2126043003: Refactor HTMLTreeBuilder/HTMLConstructionSite ctor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase / add comment Created 4 years, 5 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 | third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.h b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.h
index 357b56a94539c2fa7ccde7484dc95bc82d66f25d..ea9952dd5ea765062b89aa149ef88e9930bcdb52 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.h
@@ -109,11 +109,12 @@ class HTMLConstructionSite final {
WTF_MAKE_NONCOPYABLE(HTMLConstructionSite);
DISALLOW_NEW();
public:
- HTMLConstructionSite(Document*, ParserContentPolicy);
- HTMLConstructionSite(DocumentFragment*, ParserContentPolicy);
+ HTMLConstructionSite(Document&, ParserContentPolicy);
~HTMLConstructionSite();
DECLARE_TRACE();
+ void initFragmentParsing(DocumentFragment*);
+
void detach();
// executeQueuedTasks empties the queue but does not flush pending text.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698