зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1443672: Adjust a few .cpp files in layout to #include their own header first. r=emilio
MozReview-Commit-ID: L4ZSDT5Akhi --HG-- extra : rebase_source : 4795c4eaf84957639f446471788697956fe2bf17
This commit is contained in:
Родитель
1944da9fb8
Коммит
93e46d9a9b
|
@ -4,11 +4,12 @@
|
|||
* 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 "nsBidiPresUtils.h"
|
||||
|
||||
#include "mozilla/IntegerRange.h"
|
||||
|
||||
#include "gfxContext.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsBidiPresUtils.h"
|
||||
#include "nsFontMetrics.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsPresContext.h"
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
/* storage of the frame tree and information about it */
|
||||
|
||||
#include "nsFrameManager.h"
|
||||
|
||||
#include "nscore.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsStyleContext.h"
|
||||
|
@ -25,7 +27,6 @@
|
|||
#include "nsAbsoluteContainingBlock.h"
|
||||
#include "ChildIterator.h"
|
||||
|
||||
#include "nsFrameManager.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsIStatefulFrame.h"
|
||||
#include "nsContainerFrame.h"
|
||||
|
|
|
@ -3,10 +3,12 @@
|
|||
/* 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 "nsFrameTraversal.h"
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsGkAtoms.h"
|
||||
|
||||
#include "nsFrameTraversal.h"
|
||||
#include "nsFrameList.h"
|
||||
#include "nsPlaceholderFrame.h"
|
||||
#include "nsContainerFrame.h"
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
/* a presentation of a document, part 1 */
|
||||
|
||||
#include "nsPresContext.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/Encoding.h"
|
||||
|
@ -16,7 +18,6 @@
|
|||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsCSSFrameConstructor.h"
|
||||
#include "nsPresContext.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIPresShellInlines.h"
|
||||
#include "nsDocShell.h"
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
* implement things like blocking on vsync.
|
||||
*/
|
||||
|
||||
#include "nsRefreshDriver.h"
|
||||
|
||||
#ifdef XP_WIN
|
||||
#include <windows.h>
|
||||
// mmsystem isn't part of WIN32_LEAN_AND_MEAN, so we have
|
||||
|
@ -30,7 +32,6 @@
|
|||
#include "mozilla/AutoRestore.h"
|
||||
#include "mozilla/IntegerRange.h"
|
||||
#include "nsHostObjectProtocolHandler.h"
|
||||
#include "nsRefreshDriver.h"
|
||||
#include "nsITimer.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsPresContext.h"
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
* 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 "FrameMetrics.h"
|
||||
#include "ScrollSnap.h"
|
||||
|
||||
#include "FrameMetrics.h"
|
||||
#include "gfxPrefs.h"
|
||||
#include "mozilla/Maybe.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
|
||||
/* rendering object for CSS display:inline objects */
|
||||
|
||||
#include "gfxContext.h"
|
||||
#include "nsInlineFrame.h"
|
||||
|
||||
#include "gfxContext.h"
|
||||
#include "nsLineLayout.h"
|
||||
#include "nsBlockFrame.h"
|
||||
#include "nsPlaceholderFrame.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче