Bug 1457920: Remove ServoStyleSheet.{h,cpp}. r?xidorn draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 30 Apr 2018 19:23:53 +0200
changeset 789952 a18b65386f3db0fb2dbb592b4163ed76d6c1b6dc
parent 789951 ed2474b69cafe925527d50011485b47f2cd38c37
child 789953 f9f9bc7bdf42298f3ec8d0b81456ae5875772aca
push id108371
push userbmo:emilio@crisal.io
push dateMon, 30 Apr 2018 19:53:45 +0000
reviewersxidorn
bugs1457920
milestone61.0a1
Bug 1457920: Remove ServoStyleSheet.{h,cpp}. r?xidorn MozReview-Commit-ID: 1T39DoLUBZk
layout/style/ServoStyleSheet.cpp
layout/style/ServoStyleSheet.h
layout/style/moz.build
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 += [