Bug 1245748 - Add missing includes to TimingParams.{cpp,h}; r=heycam
authorBrian Birtles <birtles@gmail.com>
Tue, 22 Mar 2016 16:20:31 +0900
changeset 315377 a2fc06886cf5e27493fc2e1bc1b0528878f9085f
parent 315376 e5b7f120513e6f98ae9db9e0daaa07204eb8f3d4
child 315378 3fd3083eaf4c059ccb7b7857705b7520b87e5705
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-esr52@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Bug 1245748 - Add missing includes to TimingParams.{cpp,h}; r=heycam Once we tweak moz.build in the next patch, the grouping in the unified build will change and expose these missing includes so we fix them here, first. MozReview-Commit-ID: GebEEociwTo
--- a/dom/animation/TimingParams.cpp
+++ b/dom/animation/TimingParams.cpp
@@ -1,18 +1,22 @@
 /* -*- 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/TimingParams.h"
+#include "mozilla/AnimationUtils.h"
+#include "mozilla/dom/AnimatableBinding.h"
+#include "mozilla/dom/KeyframeEffectBinding.h"
 #include "nsCSSParser.h" // For nsCSSParser
 #include "nsIDocument.h"
+#include "nsRuleNode.h"
 namespace mozilla {
 template <class OptionsType>
 static const dom::AnimationEffectTimingProperties&
 GetTimingProperties(const OptionsType& aOptions);
 template <>
--- a/dom/animation/TimingParams.h
+++ b/dom/animation/TimingParams.h
@@ -7,16 +7,17 @@
 #ifndef mozilla_TimingParams_h
 #define mozilla_TimingParams_h
 #include "nsStringFwd.h"
 #include "mozilla/dom/Nullable.h"
 #include "mozilla/dom/UnionTypes.h" // For OwningUnrestrictedDoubleOrString
 #include "mozilla/ComputedTimingFunction.h"
 #include "mozilla/Maybe.h"
+#include "mozilla/StickyTimeDuration.h"
 #include "mozilla/TimeStamp.h" // for TimeDuration
 // X11 has a #define for None
 #ifdef None
 #undef None
 #include "mozilla/dom/AnimationEffectReadOnlyBinding.h" // for FillMode
                                                         // and PlaybackDirection