Bug 1454299 - Remove ServoPropPrefList.h. r?emilio draft
authorXidorn Quan <me@upsuper.org>
Mon, 16 Apr 2018 18:59:23 +1000
changeset 782483 30156b59b7c3a59c928f530426e260869ef21f5a
parent 782460 59810e57ff988d2ace52a7e11342af18b8e8e44e
child 783324 9dd493ca7eadf9fd1f7be42042020b55e976d95d
push id106555
push userxquan@mozilla.com
push dateMon, 16 Apr 2018 09:00:33 +0000
reviewersemilio
bugs1454299
milestone61.0a1
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',