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
Родитель 93bb745963
Коммит 75abf86728
4 изменённых файлов: 19 добавлений и 0 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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