Closed Bug 1298205 Opened 8 years ago Closed 8 years ago

Build failures due to missing includes in RestyleManagerBase.h and ServoRestyleManager.cpp

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(2 files)

I added a file to layout/base/ which reshuffled the unified build grouping and caused build failures due to missing #includes / forward declarations.
Blocks: 1298218
Comment on attachment 8785038 [details]
Bug 1298205 - Fix includes of RestyleManagerBase.h.

https://reviewboard.mozilla.org/r/74342/#review72252

::: layout/base/RestyleManagerBase.h:16
(Diff revision 1)
>  #include "nsChangeHint.h"
> +#include "nsPresContext.h"
> +
> +class nsCString;
> +class nsCSSFrameConstructor;
>  

Nit: drop this blank line.
Attachment #8785038 - Flags: review?(cam) → review+
Comment on attachment 8785039 [details]
Bug 1298205 - Fix ServoRestyleManager.cpp includes.

https://reviewboard.mozilla.org/r/74344/#review72254

::: layout/base/ServoRestyleManager.cpp:13
(Diff revision 1)
>  #include "mozilla/ServoStyleSet.h"
>  #include "mozilla/dom/ChildIterator.h"
>  #include "nsContentUtils.h"
>  #include "nsStyleChangeList.h"
>  
> +#include "nsPrintfCString.h"

Nit: put this before nsStyleChangeList to keep the includes (mostly) sorted.
Attachment #8785039 - Flags: review?(cam) → review+
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/27dc00472404
Fix includes of RestyleManagerBase.h. r=heycam
https://hg.mozilla.org/integration/mozilla-inbound/rev/e85cd0f24510
Fix ServoRestyleManager.cpp includes. r=heycam
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: