Bug 1367521 - Fix misspellings of "delegate". r=dholbert draft
authorAndrew McCreight <continuation@gmail.com>
Wed, 24 May 2017 10:43:11 -0700
changeset 583859 e5a1db0078408086673ed75af842ad8e43a4089c
parent 583858 0abf752404dd2db89a6186179fcb113201fe25d6
child 630234 1cfaa2bdecefdff6023d7bfa6bb3a9f77a0c00b3
push id60582
push userbmo:continuation@gmail.com
push dateWed, 24 May 2017 18:52:16 +0000
reviewersdholbert
bugs1367521
milestone55.0a1
Bug 1367521 - Fix misspellings of "delegate". r=dholbert MozReview-Commit-ID: KqOnp8rpCZD
js/xpconnect/src/xpcprivate.h
toolkit/components/url-classifier/nsUrlClassifierDBService.h
--- a/js/xpconnect/src/xpcprivate.h
+++ b/js/xpconnect/src/xpcprivate.h
@@ -2295,17 +2295,17 @@ protected:
 // nsJSIID
 
 class nsJSIID : public nsIJSIID,
                 public nsIXPCScriptable
 {
 public:
     NS_DECL_ISUPPORTS
 
-    // we manually delagate these to nsJSID
+    // we manually delegate these to nsJSID
     NS_DECL_NSIJSID
 
     // we implement the rest...
     NS_DECL_NSIJSIID
     NS_DECL_NSIXPCSCRIPTABLE
 
     static already_AddRefed<nsJSIID> NewID(nsIInterfaceInfo* aInfo);
 
@@ -2320,17 +2320,17 @@ private:
 
 // nsJSCID
 
 class nsJSCID : public nsIJSCID, public nsIXPCScriptable
 {
 public:
     NS_DECL_ISUPPORTS
 
-    // we manually delagate these to nsJSID
+    // we manually delegate these to nsJSID
     NS_DECL_NSIJSID
 
     // we implement the rest...
     NS_DECL_NSIJSCID
     NS_DECL_NSIXPCSCRIPTABLE
 
     static already_AddRefed<nsJSCID> NewID(const char* str);
 
--- a/toolkit/components/url-classifier/nsUrlClassifierDBService.h
+++ b/toolkit/components/url-classifier/nsUrlClassifierDBService.h
@@ -75,17 +75,17 @@ class ProtocolParser;
 class TableUpdate;
 
 nsresult
 TablesToResponse(const nsACString& tables);
 
 } // namespace safebrowsing
 } // namespace mozilla
 
-// This is a proxy class that just creates a background thread and delagates
+// This is a proxy class that just creates a background thread and delegates
 // calls to the background thread.
 class nsUrlClassifierDBService final : public nsIUrlClassifierDBService,
                                        public nsIURIClassifier,
                                        public nsIUrlClassifierInfo,
                                        public nsIObserver
 {
 public:
   // This is thread safe. It throws an exception if the thread is busy.