Bug 811466 - Add include guards around some headers which were missing them. r=khuey

This commit is contained in:
Justin Lebar 2012-11-19 20:05:34 -05:00
parent 812663be6a
commit a3c255e49c
4 changed files with 19 additions and 0 deletions

View File

@ -2,6 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozAutoDocUpdate_h_
#define mozAutoDocUpdate_h_
#include "nsContentUtils.h"
#include "nsIDocument.h"
#include "nsIDocumentObserver.h"
@ -82,3 +85,5 @@ public:
private:
nsCOMPtr<nsIDocument> mDocument;
};
#endif

View File

@ -3,6 +3,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsCCUncollectableMarker_h_
#define nsCCUncollectableMarker_h_
#include "nsIObserver.h"
#include "nsCycleCollectionParticipant.h"
#include "mozilla/Attributes.h"
@ -45,3 +48,5 @@ namespace dom {
void TraceBlackJS(JSTracer* aTrc);
}
}
#endif

View File

@ -5,6 +5,9 @@
//////////////////////////////////////////////////////////////////////////////////////////
#ifndef nsXBLService_h_
#define nsXBLService_h_
#include "nsString.h"
#include "nsIObserver.h"
#include "nsWeakReference.h"
@ -141,3 +144,4 @@ public:
nsrefcnt Drop() { return --mRefCnt ? mRefCnt : Destroy(); }
};
#endif

View File

@ -3,6 +3,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsDOMWindowUtils_h_
#define nsDOMWindowUtils_h_
#include "nsAutoPtr.h"
#include "nsWeakReference.h"
@ -48,3 +51,5 @@ protected:
static mozilla::widget::Modifiers GetWidgetModifiers(int32_t aModifiers);
};
#endif