Bug 1367293 - Drop ServoComputedValuesWithParent entirely. r?birtles draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Fri, 02 Jun 2017 09:39:00 +0900
changeset 588048 ee0a914bd8488457ce4f3267d6d423e897b1b367
parent 588047 8cb7adbc464f9cd2c9df61c7dd28e6bcd963c2ca
child 631439 9dd208179ac7e5b727dbe082722a12c4d6ad7695
push id61886
push userhikezoe@mozilla.com
push dateFri, 02 Jun 2017 02:26:43 +0000
reviewersbirtles
bugs1367293
milestone55.0a1
Bug 1367293 - Drop ServoComputedValuesWithParent entirely. r?birtles MozReview-Commit-ID: DGWNHiXoOlH
dom/animation/ServoComputedValuesWithParent.h
dom/animation/moz.build
deleted file mode 100644
--- a/dom/animation/ServoComputedValuesWithParent.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_ServoComputedValuesWithParent_h
-#define mozilla_ServoComputedValuesWithParent_h
-
-#include "mozilla/ServoBindingTypes.h"
-
-namespace mozilla {
-
-/**
- * A tuple of a set of computed values along with the computed values for the
- * corresponding element's parent.
- */
-struct ServoComputedValuesWithParent
-{
-  const ServoComputedValues* mCurrentStyle;
-  const ServoComputedValues* mParentStyle;
-  explicit operator bool() const { return true; }
-};
-
-} // namespace mozilla
-
-#endif // mozilla_ServoComputedValuesWithParent_h
--- a/dom/animation/moz.build
+++ b/dom/animation/moz.build
@@ -33,17 +33,16 @@ EXPORTS.mozilla += [
     'ComputedTimingFunction.h',
     'EffectCompositor.h',
     'EffectSet.h',
     'Keyframe.h',
     'KeyframeEffectParams.h',
     'KeyframeUtils.h',
     'PendingAnimationTracker.h',
     'PseudoElementHashEntry.h',
-    'ServoComputedValuesWithParent.h',
     'TimingParams.h',
 ]
 
 UNIFIED_SOURCES += [
     'Animation.cpp',
     'AnimationEffectReadOnly.cpp',
     'AnimationEffectTiming.cpp',
     'AnimationEffectTimingReadOnly.cpp',