Bug 1412716 - Drop redundant forward declarations of ComputedStyle. r?emilio draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Tue, 10 Apr 2018 07:03:03 +0900
changeset 779460 281f11ee7e87863afca92535814bbcb8ae273ccc
parent 779459 e54f409da2110384ec4833d5c954aff4a655a481
child 779461 e63fc7263498ab6f651ce3b28343117afe97d5b5
push id105776
push userhikezoe@mozilla.com
push dateMon, 09 Apr 2018 22:17:32 +0000
reviewersemilio
bugs1412716
milestone61.0a1
Bug 1412716 - Drop redundant forward declarations of ComputedStyle. r?emilio MozReview-Commit-ID: ALMQ9Ws6eE1
layout/style/nsAnimationManager.h
layout/style/nsTransitionManager.h
--- a/layout/style/nsAnimationManager.h
+++ b/layout/style/nsAnimationManager.h
@@ -27,17 +27,16 @@ namespace css {
 class Declaration;
 } /* namespace css */
 namespace dom {
 class KeyframeEffectReadOnly;
 class Promise;
 } /* namespace dom */
 
 class GeckoComputedStyle;
-class ComputedStyle;
 enum class CSSPseudoElementType : uint8_t;
 struct NonOwningAnimationTarget;
 
 namespace dom {
 
 class CSSAnimation final : public Animation
 {
 public:
--- a/layout/style/nsTransitionManager.h
+++ b/layout/style/nsTransitionManager.h
@@ -21,17 +21,16 @@ class nsPresContext;
 class nsCSSPropertyIDSet;
 
 namespace mozilla {
 class ComputedStyle;
 enum class CSSPseudoElementType : uint8_t;
 class GeckoComputedStyle;
 struct Keyframe;
 struct StyleTransition;
-class ComputedStyle;
 } // namespace mozilla
 
 /*****************************************************************************
  * Per-Element data                                                          *
  *****************************************************************************/
 
 namespace mozilla {