Fix pedantic bustage.
authorBen Turner <bent.mozilla@gmail.com>
Tue, 30 Sep 2008 17:08:53 -0700
changeset 19945 66d809a1897f9b748551c12b33340ad185163edc
parent 19944 85a89d00d9b3a1aeb6e81a58cce2dd3868fdf1cd
child 19947 8433a061d711e3b3170b07d0bf400b309cd84719
child 19957 de814c09addc7c3100689518e579bdbff2161970
push id2562
push userbturner@mozilla.com
push dateWed, 01 Oct 2008 00:08:59 +0000
treeherdermozilla-central@66d809a1897f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.1b1pre
Fix pedantic bustage.
dom/src/threads/nsDOMWorkerThread.h
dom/src/threads/nsDOMWorkerXHRProxiedFunctions.h
--- a/dom/src/threads/nsDOMWorkerThread.h
+++ b/dom/src/threads/nsDOMWorkerThread.h
@@ -112,16 +112,17 @@ NS_IMETHODIMP                           
 _class::GetClassIDNoAlloc(nsCID* _classIDNoAlloc)                             \
 {                                                                             \
   return NS_ERROR_NOT_AVAILABLE;                                              \
 }
 
 class nsDOMWorkerPool;
 class nsDOMWorkerScriptLoader;
 class nsDOMWorkerTimeout;
+class nsDOMWorkerXHR;
 
 class nsDOMWorkerThread : public nsDOMWorkerBase,
                           public nsIDOMWorkerThread,
                           public nsIClassInfo
 {
   friend class nsDOMCreateJSContextRunnable;
   friend class nsDOMWorkerFunctions;
   friend class nsDOMWorkerPool;
--- a/dom/src/threads/nsDOMWorkerXHRProxiedFunctions.h
+++ b/dom/src/threads/nsDOMWorkerXHRProxiedFunctions.h
@@ -238,11 +238,11 @@ namespace nsDOMWorkerProxiedXHRFunctions
   MAKE_PROXIED_FUNCTION1(SendAsBinary, const nsAString&);
 
   MAKE_PROXIED_FUNCTION2(SetRequestHeader, const nsACString&,
                          const nsACString&);
 
   MAKE_PROXIED_FUNCTION1(OverrideMimeType, const nsACString&);
 
   MAKE_PROXIED_FUNCTION1(SetMultipart, PRBool);
-};
+}
 
 #endif /* __NSDOMWORKERXHRPROXIEDFUNCTIONS_H__ */