Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / parser / HTMLTreeBuilder.h
index d2b541b..eac5e6c 100644 (file)
@@ -82,8 +82,9 @@ public:
     // Done, close any open tags, etc.
     void finished();
 
-    // Synchronously empty any queues, possibly creating more DOM nodes.
-    void flush() { m_tree.flush(); }
+    // Synchronously flush pending text and queued tasks, possibly creating more DOM nodes.
+    // Flushing pending text depends on |mode|.
+    void flush(FlushMode mode) { m_tree.flush(mode); }
 
     void setShouldSkipLeadingNewline(bool shouldSkip) { m_shouldSkipLeadingNewline = shouldSkip; }