зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1629732 - Fix non-unified build errors in layout/style. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D71454
This commit is contained in:
Родитель
1e9e57ecb6
Коммит
0cc43ec735
|
@ -15,6 +15,7 @@
|
|||
#include "mozilla/Maybe.h"
|
||||
#include "mozilla/PseudoStyleType.h"
|
||||
#include "mozilla/ServoComputedData.h"
|
||||
#include "mozilla/ServoComputedDataInlines.h"
|
||||
#include "mozilla/ServoStyleConsts.h"
|
||||
#include "mozilla/ServoTypes.h"
|
||||
#include "mozilla/ServoUtils.h"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "mozilla/ServoBindings.h"
|
||||
|
||||
#include "nsCSSProps.h"
|
||||
#include "nsIMemoryReporter.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "gfxFontSrcURI.h"
|
||||
#include "mozilla/css/Loader.h"
|
||||
#include "mozilla/dom/CSSFontFaceRule.h"
|
||||
#include "mozilla/dom/DocumentInlines.h"
|
||||
#include "mozilla/dom/Event.h"
|
||||
#include "mozilla/dom/FontFaceSetBinding.h"
|
||||
#include "mozilla/dom/FontFaceSetIterator.h"
|
||||
|
|
|
@ -24,6 +24,7 @@ class nsAtom;
|
|||
class nsIURI;
|
||||
class nsSimpleContentList;
|
||||
struct nsFont;
|
||||
class ServoComputedData;
|
||||
|
||||
namespace mozilla {
|
||||
class ComputedStyle;
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
#include "mozilla/dom/CSSRuleList.h"
|
||||
|
||||
#include "nsPrintfCString.h"
|
||||
|
||||
using namespace mozilla::dom;
|
||||
|
||||
namespace mozilla {
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsAnimationManager.h"
|
||||
#include "nsINode.h"
|
||||
#include "nsTransitionManager.h"
|
||||
#include "mozilla/dom/CSSAnimationBinding.h"
|
||||
|
||||
|
@ -31,13 +32,26 @@
|
|||
#include <algorithm> // std::stable_sort
|
||||
#include <math.h>
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
struct ComputedEffectTiming;
|
||||
struct EffectTiming;
|
||||
struct OptionalEffectTiming;
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::css;
|
||||
using mozilla::dom::Animation;
|
||||
using mozilla::dom::AnimationEffect;
|
||||
using mozilla::dom::AnimationPlayState;
|
||||
using mozilla::dom::ComputedEffectTiming;
|
||||
using mozilla::dom::CSSAnimation;
|
||||
using mozilla::dom::EffectTiming;
|
||||
using mozilla::dom::Element;
|
||||
using mozilla::dom::KeyframeEffect;
|
||||
using mozilla::dom::MutationObservers;
|
||||
using mozilla::dom::OptionalEffectTiming;
|
||||
|
||||
typedef mozilla::ComputedTiming::AnimationPhase AnimationPhase;
|
||||
|
||||
|
|
|
@ -167,8 +167,8 @@ void nsFontFaceUtils::MarkDirtyForFontChange(nsIFrame* aSubtreeRoot,
|
|||
MOZ_ASSERT(f->GetContent() && f->GetContent()->IsElement(),
|
||||
"How could we target a non-element with selectors?");
|
||||
f->PresContext()->RestyleManager()->PostRestyleEvent(
|
||||
Element::FromNode(f->GetContent()), RestyleHint::RECASCADE_SELF,
|
||||
nsChangeHint(0));
|
||||
dom::Element::FromNode(f->GetContent()),
|
||||
RestyleHint::RECASCADE_SELF, nsChangeHint(0));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -276,7 +276,7 @@ bool nsStyleUtil::ObjectPropsMightCauseOverflow(
|
|||
|
||||
/* static */
|
||||
bool nsStyleUtil::CSPAllowsInlineStyle(
|
||||
Element* aElement, dom::Document* aDocument,
|
||||
dom::Element* aElement, dom::Document* aDocument,
|
||||
nsIPrincipal* aTriggeringPrincipal, uint32_t aLineNumber,
|
||||
uint32_t aColumnNumber, const nsAString& aStyleText, nsresult* aRv) {
|
||||
nsresult rv;
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
/* Code to start and animate CSS transitions. */
|
||||
|
||||
#include "nsTransitionManager.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/KeyframeEffectBinding.h"
|
||||
#include "nsAnimationManager.h"
|
||||
#include "mozilla/dom/CSSTransitionBinding.h"
|
||||
|
||||
|
@ -40,6 +42,8 @@ using mozilla::TimeStamp;
|
|||
using mozilla::dom::Animation;
|
||||
using mozilla::dom::AnimationPlayState;
|
||||
using mozilla::dom::CSSTransition;
|
||||
using mozilla::dom::DocumentTimeline;
|
||||
using mozilla::dom::KeyframeEffect;
|
||||
using mozilla::dom::Nullable;
|
||||
|
||||
using namespace mozilla;
|
||||
|
|
Загрузка…
Ссылка в новой задаче