Bug 1454299 - Remove ServoPropPrefList.h. r=emilio
authorXidorn Quan <me@upsuper.org>
Mon, 16 Apr 2018 18:59:23 +1000
changeset 413880 ed99d7ab90b95dd09fa165fec75ae90bb77148dd
parent 413879 519b64233026335355cfa805508b3a6ce0a244d8
child 413881 066fefe52d2eb0d4315a232a14b2d10fb554ab2d
push id33853
push usercbrindusan@mozilla.com
push dateTue, 17 Apr 2018 09:51:13 +0000
treeherdermozilla-central@8b0ba3f7d099 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1454299
milestone61.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 1454299 - Remove ServoPropPrefList.h. r=emilio MozReview-Commit-ID: 5wbFNahv4BW
layout/style/ServoBindings.toml
layout/style/ServoPropPrefList.h
layout/style/moz.build
--- a/layout/style/ServoBindings.toml
+++ b/layout/style/ServoBindings.toml
@@ -44,17 +44,16 @@ args = [
     "-DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1",
 ]
 "arch=x86" = ["--target=i686-pc-win32"]
 "arch=x86_64" = ["--target=x86_64-pc-win32"]
 
 [structs]
 headers = [
     "nsStyleStruct.h",
-    "mozilla/ServoPropPrefList.h",
     "mozilla/StyleAnimationValue.h",
     "gfxFontConstants.h",
     "gfxFontFeatures.h",
     "nsThemeConstants.h",
     "mozilla/css/Loader.h",
     "mozilla/css/SheetLoadData.h",
     "mozilla/dom/AnimationEffectReadOnlyBinding.h",
     "mozilla/dom/HTMLSlotElement.h",
@@ -200,17 +199,16 @@ whitelist-vars = [
     "NODE_.*",
     "ELEMENT_.*",
     "NS_FONT_.*",
     "NS_STYLE_.*",
     "NS_MATHML_.*",
     "NS_RADIUS_.*",
     "BORDER_COLOR_.*",
     "BORDER_STYLE_.*",
-    "mozilla::SERVO_PREF_.*",
     "CSS_PSEUDO_ELEMENT_.*",
     "SERVO_CSS_PSEUDO_ELEMENT_FLAGS_.*",
     "kNameSpaceID_.*",
     "kGenericFont_.*",
     "kPresContext_.*",
     "nsContentUtils_.*",
     "GECKO_IS_NIGHTLY",
 ]
deleted file mode 100644
--- a/layout/style/ServoPropPrefList.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set ts=8 sts=2 et sw=2 tw=80: */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * 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 mozilla_ServoPropPrefList_h
-#define mozilla_ServoPropPrefList_h
-
-namespace mozilla {
-
-#define CSS_PROP(name_, id_, method_, flags_, pref_, ...) \
-    const bool SERVO_PREF_ENABLED_##id_ = !(sizeof(pref_) == 1);
-#define CSS_PROP_SHORTHAND(name_, id_, method_, flags_, pref_)  \
-    const bool SERVO_PREF_ENABLED_##id_ = !(sizeof(pref_) == 1);
-#include "nsCSSPropList.h"
-#undef CSS_PROP
-#undef CSS_PROP_SHORTHAND
-
-#define CSS_PROP_ALIAS(aliasname_, aliasid_, id_, method_, pref_)  \
-    const bool SERVO_PREF_ENABLED_##aliasid_ = !(sizeof(pref_) == 1);
-#include "nsCSSPropAliasList.h"
-#undef CSS_PROP_ALIAS
-
-}
-
-#endif // mozilla_ServoPropPrefList_h
--- a/layout/style/moz.build
+++ b/layout/style/moz.build
@@ -93,17 +93,16 @@ EXPORTS.mozilla += [
     'ServoFontFeatureValuesRule.h',
     'ServoImportRule.h',
     'ServoKeyframeRule.h',
     'ServoKeyframesRule.h',
     'ServoMediaList.h',
     'ServoMediaRule.h',
     'ServoNamespaceRule.h',
     'ServoPageRule.h',
-    'ServoPropPrefList.h',
     'ServoSpecifiedValues.h',
     'ServoStyleRule.h',
     'ServoStyleSet.h',
     'ServoStyleSetInlines.h',
     'ServoStyleSheet.h',
     'ServoSupportsRule.h',
     'ServoTraversalStatistics.h',
     'ServoTypes.h',