Bug 1254900 - Correct class name in comment in AsyncEventDispatcher.h. r?masayuki draft
authorTing-Yu Lin <tlin@mozilla.com>
Thu, 03 Mar 2016 17:10:29 +0800
changeset 338512 79203c2174edfc4091877be2914049f560798b86
parent 338511 4657041c6f77b36b1fb9647c28f53f4f51757360
child 515806 01660f58b3e75b343aeb682a469fb1de6e8f42f8
push id12523
push userbmo:tlin@mozilla.com
push dateWed, 09 Mar 2016 08:11:09 +0000
reviewersmasayuki
bugs1254900
milestone48.0a1
Bug 1254900 - Correct class name in comment in AsyncEventDispatcher.h. r?masayuki Comment-only so DONTBUILD. MozReview-Commit-ID: GO9M6oMlZ1h
dom/events/AsyncEventDispatcher.h
--- a/dom/events/AsyncEventDispatcher.h
+++ b/dom/events/AsyncEventDispatcher.h
@@ -14,22 +14,22 @@
 #include "nsString.h"
 #include "nsThreadUtils.h"
 
 class nsINode;
 
 namespace mozilla {
 
 /**
- * Use nsAsyncDOMEvent to fire a DOM event that requires safe a stable DOM.
+ * Use AsyncEventDispatcher to fire a DOM event that requires safe a stable DOM.
  * For example, you may need to fire an event from within layout, but
  * want to ensure that the event handler doesn't mutate the DOM at
  * the wrong time, in order to avoid resulting instability.
  */
- 
+
 class AsyncEventDispatcher : public nsRunnable
 {
 public:
   /**
    * If aOnlyChromeDispatch is true, the event is dispatched to only
    * chrome node. In that case, if aTarget is already a chrome node,
    * the event is dispatched to it, otherwise the dispatch path starts
    * at the first chrome ancestor of that target.
@@ -91,17 +91,17 @@ public:
   LoadBlockingAsyncEventDispatcher(nsINode* aEventNode, nsIDOMEvent* aEvent)
     : AsyncEventDispatcher(aEventNode, aEvent)
     , mBlockedDoc(aEventNode->OwnerDoc())
   {
     if (mBlockedDoc) {
       mBlockedDoc->BlockOnload();
     }
   }
-  
+
   ~LoadBlockingAsyncEventDispatcher();
 
 private:
   nsCOMPtr<nsIDocument> mBlockedDoc;
 };
 
 } // namespace mozilla