Bug 1438309 - Remove `#ifndef MOZ_XUL` from nsXULLabelFrame;r=nalexander
authorBrian Grinstead <bgrinstead@mozilla.com>
Wed, 14 Feb 2018 12:46:24 -0800
changeset 458765 8ed6a4bfec68227c2aa576a907579aff8a9a6bcd
parent 458764 84611d1652f2454af2b6c0595fd9f21fea094ea2
child 458766 f86256e3a26ee645a27de17a61c52eaff5c49f2d
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1438309
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1438309 - Remove `#ifndef MOZ_XUL` from nsXULLabelFrame;r=nalexander MozReview-Commit-ID: 2hm8pUSnZpN
layout/xul/nsXULLabelFrame.h
--- a/layout/xul/nsXULLabelFrame.h
+++ b/layout/xul/nsXULLabelFrame.h
@@ -7,20 +7,16 @@
 /* derived class of nsBlockFrame used for xul:label elements */
 
 #ifndef nsXULLabelFrame_h_
 #define nsXULLabelFrame_h_
 
 #include "mozilla/Attributes.h"
 #include "nsBlockFrame.h"
 
-#ifndef MOZ_XUL
-#error "This file should not be included"
-#endif
-
 class nsXULLabelFrame final : public nsBlockFrame
 {
 public:
   NS_DECL_FRAMEARENA_HELPERS(nsXULLabelFrame)
 
   friend nsIFrame* NS_NewXULLabelFrame(nsIPresShell* aPresShell,
                                        nsStyleContext *aContext);