Bug 1457920: Remove ServoStyleSheet.{h,cpp}. r?xidorn
MozReview-Commit-ID: 1T39DoLUBZk
deleted file mode 100644
--- a/layout/style/ServoStyleSheet.cpp
+++ /dev/null
@@ -1,28 +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/. */
-
-#include "mozilla/ServoStyleSheet.h"
-
-#include "mozilla/css/Rule.h"
-#include "mozilla/ServoBindings.h"
-#include "mozilla/ServoCSSRuleList.h"
-#include "mozilla/ServoImportRule.h"
-#include "mozilla/StaticPrefs.h"
-#include "mozilla/css/GroupRule.h"
-#include "mozilla/dom/CSSRuleList.h"
-#include "mozilla/dom/MediaList.h"
-#include "nsIStyleSheetLinkingElement.h"
-#include "ErrorReporter.h"
-#include "Loader.h"
-
-
-#include "mozAutoDocUpdate.h"
-
-using namespace mozilla::dom;
-
-namespace mozilla {
-
-} // namespace mozilla
deleted file mode 100644
--- a/layout/style/ServoStyleSheet.h
+++ /dev/null
@@ -1,19 +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_ServoStyleSheet_h
-#define mozilla_ServoStyleSheet_h
-
-#include "mozilla/ServoBindingTypes.h"
-#include "mozilla/StyleSheet.h"
-
-namespace mozilla {
-
-typedef StyleSheet ServoStyleSheet;
-
-} // namespace mozilla
-
-#endif // mozilla_ServoStyleSheet_h
--- a/layout/style/moz.build
+++ b/layout/style/moz.build
@@ -95,17 +95,16 @@ EXPORTS.mozilla += [
'ServoKeyframesRule.h',
'ServoMediaRule.h',
'ServoNamespaceRule.h',
'ServoPageRule.h',
'ServoSpecifiedValues.h',
'ServoStyleRule.h',
'ServoStyleSet.h',
'ServoStyleSetInlines.h',
- 'ServoStyleSheet.h',
'ServoSupportsRule.h',
'ServoTraversalStatistics.h',
'ServoTypes.h',
'ServoUtils.h',
'SheetType.h',
'StyleAnimationValue.h',
'StyleComplexColor.h',
'StyleSheet.h',
@@ -214,17 +213,16 @@ UNIFIED_SOURCES += [
'ServoKeyframeRule.cpp',
'ServoKeyframesRule.cpp',
'ServoMediaRule.cpp',
'ServoNamespaceRule.cpp',
'ServoPageRule.cpp',
'ServoSpecifiedValues.cpp',
'ServoStyleRule.cpp',
'ServoStyleSet.cpp',
- 'ServoStyleSheet.cpp',
'ServoSupportsRule.cpp',
'StreamLoader.cpp',
'StyleAnimationValue.cpp',
'StyleSheet.cpp',
'URLExtraData.cpp',
]
SOURCES += [