Bug 959150 part 8 - Document nsHtml5DocumentBuilder. r=smaug.
☠☠ backed out by e420695e2079 ☠ ☠
authorHenri Sivonen <hsivonen@hsivonen.fi>
Wed, 05 Mar 2014 21:38:50 +0200
changeset 189303 30bdc9b15e8e0677f23fb68a159bf3c38421c04e
parent 189302 630e489aed3049dcebb2cd2b997b88f4a9d03743
child 189304 ade2df7457879fb6a0c662e1bb41d95ebe817313
push id3503
push userraliiev@mozilla.com
push dateMon, 28 Apr 2014 18:51:11 +0000
treeherdermozilla-beta@c95ac01e332e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs959150
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 959150 part 8 - Document nsHtml5DocumentBuilder. r=smaug.
parser/html/nsHtml5OplessBuilder.h
--- a/parser/html/nsHtml5OplessBuilder.h
+++ b/parser/html/nsHtml5OplessBuilder.h
@@ -6,16 +6,25 @@
 
 #ifndef nsHtml5OplessBuilder_h
 #define nsHtml5OplessBuilder_h
 
 #include "nsHtml5DocumentBuilder.h"
 
 class nsParserBase;
 
+/**
+ * This class implements a minimal subclass of nsHtml5DocumentBuilder that
+ * works when tree operation queues that are part of the off-the-main-thread
+ * parsing machinery are not used and, therefore, nsHtml5TreeOpExecutor is
+ * not used.
+ *
+ * This class is mostly responsible for wrapping tree building in an update
+ * batch and resetting various fields in nsContentSink upon finishing.
+ */
 class nsHtml5OplessBuilder : public nsHtml5DocumentBuilder
 {
 public:
   NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW
 
   nsHtml5OplessBuilder();
   ~nsHtml5OplessBuilder();
   void Start();