diff --git a/layout/generic/nsVideoFrame.cpp b/layout/generic/nsVideoFrame.cpp index 941c958f77d4..baf1eb1d76f0 100644 --- a/layout/generic/nsVideoFrame.cpp +++ b/layout/generic/nsVideoFrame.cpp @@ -12,6 +12,7 @@ #include "nsGkAtoms.h" #include "mozilla/dom/HTMLVideoElement.h" +#include "mozilla/dom/ShadowRoot.h" #include "mozilla/layers/WebRenderLayerManager.h" #include "nsDisplayList.h" #include "nsGenericHTMLElement.h" @@ -19,6 +20,7 @@ #include "nsContentCreatorFunctions.h" #include "nsBoxLayoutState.h" #include "nsBoxFrame.h" +#include "nsIContentInlines.h" #include "nsImageFrame.h" #include "nsIImageLoadingContent.h" #include "nsContentUtils.h"