author | Daniel Holbert <dholbert@cs.stanford.edu> |
Tue, 24 Sep 2013 18:43:43 -0700 | |
changeset 148634 | e304de11edaece5d14266dde9720131e162b11be |
parent 148633 | 6095527a89147d6cd98a2dbe9d0d253220520ac6 |
child 148635 | dc2f96ecb2bccd6117d9633bb699f3819239118e |
push id | 25349 |
push user | ryanvm@gmail.com |
push date | Wed, 25 Sep 2013 18:52:12 +0000 |
treeherder | mozilla-central@39f30376058c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mats |
bugs | 919871 |
milestone | 27.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -4,21 +4,22 @@ * 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/. */ /* * rendering object for CSS display:block, inline-block, and list-item * boxes, also used for various anonymous boxes */ +#include "nsBlockFrame.h" + #include "mozilla/DebugOnly.h" #include "mozilla/Util.h" #include "nsCOMPtr.h" -#include "nsBlockFrame.h" #include "nsAbsoluteContainingBlock.h" #include "nsBlockReflowContext.h" #include "nsBlockReflowState.h" #include "nsBulletFrame.h" #include "nsLineBox.h" #include "nsLineLayout.h" #include "nsPlaceholderFrame.h" #include "nsStyleConsts.h"
--- a/layout/generic/nsBlockReflowState.cpp +++ b/layout/generic/nsBlockReflowState.cpp @@ -1,16 +1,18 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ // vim:cindent:ts=2:et:sw=2: /* 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/. */ /* state used in reflow of block frames */ +#include "nsBlockReflowState.h" + #include "mozilla/DebugOnly.h" #include "nsBlockFrame.h" #include "nsLineLayout.h" #include "nsPresContext.h" #include "nsIFrame.h" #include "mozilla/AutoRestore.h" #include <algorithm>
--- a/layout/generic/nsBulletFrame.cpp +++ b/layout/generic/nsBulletFrame.cpp @@ -1,17 +1,18 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ /* rendering object for list-item bullets */ +#include "nsBulletFrame.h" + #include "nsCOMPtr.h" -#include "nsBulletFrame.h" #include "nsGkAtoms.h" #include "nsGenericHTMLElement.h" #include "nsAttrValueInlines.h" #include "nsPresContext.h" #include "nsIPresShell.h" #include "nsIDocument.h" #include "nsRenderingContext.h" #include "prprf.h"
--- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -1,21 +1,22 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ // vim:cindent:ts=2:et:sw=2: /* 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/. */ /* base class of all rendering objects */ +#include "nsFrame.h" + #include "mozilla/Attributes.h" #include "mozilla/DebugOnly.h" #include "nsCOMPtr.h" -#include "nsFrame.h" #include "nsFrameList.h" #include "nsPlaceholderFrame.h" #include "nsIContent.h" #include "nsContentUtils.h" #include "nsIAtom.h" #include "nsString.h" #include "nsReadableUtils.h" #include "nsStyleContext.h"
--- a/layout/generic/nsFrameSetFrame.cpp +++ b/layout/generic/nsFrameSetFrame.cpp @@ -1,19 +1,20 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ /* rendering object for HTML <frameset> elements */ +#include "nsFrameSetFrame.h" + #include "mozilla/DebugOnly.h" #include "mozilla/Likely.h" -#include "nsFrameSetFrame.h" #include "nsGenericHTMLElement.h" #include "nsAttrValueInlines.h" #include "nsLeafFrame.h" #include "nsContainerFrame.h" #include "nsPresContext.h" #include "nsIPresShell.h" #include "nsGkAtoms.h" #include "nsStyleConsts.h"
--- a/layout/generic/nsGfxScrollFrame.cpp +++ b/layout/generic/nsGfxScrollFrame.cpp @@ -1,22 +1,23 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ /* rendering object to wrap rendering objects that should be scrollable */ +#include "nsGfxScrollFrame.h" + #include "base/compiler_specific.h" #include "nsCOMPtr.h" #include "nsPresContext.h" #include "nsView.h" #include "nsIScrollable.h" #include "nsContainerFrame.h" -#include "nsGfxScrollFrame.h" #include "nsGkAtoms.h" #include "nsINameSpaceManager.h" #include "nsContentList.h" #include "nsIDocumentInlines.h" #include "nsFontMetrics.h" #include "nsBoxLayoutState.h" #include "nsINodeInfo.h" #include "nsScrollbarFrame.h"
--- a/layout/generic/nsHTMLCanvasFrame.cpp +++ b/layout/generic/nsHTMLCanvasFrame.cpp @@ -1,17 +1,18 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ /* rendering object for the HTML <canvas> element */ +#include "nsHTMLCanvasFrame.h" + #include "nsGkAtoms.h" -#include "nsHTMLCanvasFrame.h" #include "mozilla/dom/HTMLCanvasElement.h" #include "nsDisplayList.h" #include "nsLayoutUtils.h" #include "Layers.h" #include <algorithm> using namespace mozilla;
--- a/layout/generic/nsHTMLReflowState.cpp +++ b/layout/generic/nsHTMLReflowState.cpp @@ -1,15 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ /* struct containing the input to nsIFrame::Reflow */ +#include "nsHTMLReflowState.h" + #include "nsStyleConsts.h" #include "nsCSSAnonBoxes.h" #include "nsFrame.h" #include "nsIContent.h" #include "nsGkAtoms.h" #include "nsPresContext.h" #include "nsIPresShell.h" #include "nsFontMetrics.h"
--- a/layout/generic/nsImageFrame.cpp +++ b/layout/generic/nsImageFrame.cpp @@ -1,19 +1,20 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ /* rendering object for replaced elements with bitmap image data */ +#include "nsImageFrame.h" + #include "mozilla/DebugOnly.h" #include "nsCOMPtr.h" -#include "nsImageFrame.h" #include "nsIImageLoadingContent.h" #include "nsString.h" #include "nsPrintfCString.h" #include "nsPresContext.h" #include "nsRenderingContext.h" #include "nsIPresShell.h" #include "nsGkAtoms.h" #include "nsIDocument.h"
--- a/layout/generic/nsLineLayout.cpp +++ b/layout/generic/nsLineLayout.cpp @@ -1,20 +1,21 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ /* state and methods used while laying out a single line of a block frame */ +// This has to be defined before nsLineLayout.h is included, because +// nsLineLayout.h has a #include for plarena.h, which needs this defined: #define PL_ARENA_CONST_ALIGN_MASK (sizeof(void*)-1) -#include "plarena.h" +#include "nsLineLayout.h" #include "mozilla/Util.h" -#include "nsLineLayout.h" #include "nsBlockFrame.h" #include "nsStyleConsts.h" #include "nsContainerFrame.h" #include "nsFloatManager.h" #include "nsStyleContext.h" #include "nsPresContext.h" #include "nsRenderingContext.h" #include "nsGkAtoms.h"
--- a/layout/generic/nsObjectFrame.cpp +++ b/layout/generic/nsObjectFrame.cpp @@ -1,16 +1,18 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ // vim:set ts=2 sts=2 sw=2 et cin: /* 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/. */ /* rendering objects for replaced elements implemented by a plugin */ +#include "nsObjectFrame.h" + #ifdef XP_WIN // This is needed for DoublePassRenderingEvent. #include "mozilla/plugins/PluginMessageUtils.h" #endif #include "nscore.h" #include "nsCOMPtr.h" #include "nsPresContext.h" @@ -31,17 +33,16 @@ #include "nsDisplayList.h" #include "nsFocusManager.h" #include "nsLayoutUtils.h" #include "nsFrameManager.h" #include "nsIObserverService.h" #include "GeckoProfiler.h" #include <algorithm> -#include "nsObjectFrame.h" #include "nsIObjectFrame.h" #include "nsPluginNativeWindow.h" #include "FrameLayerBuilder.h" #include "ImageLayers.h" #include "nsPluginInstanceOwner.h" #ifdef XP_WIN
--- a/layout/generic/nsSimplePageSequence.cpp +++ b/layout/generic/nsSimplePageSequence.cpp @@ -1,14 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 "nsSimplePageSequence.h" + #include "nsCOMPtr.h" -#include "nsSimplePageSequence.h" #include "nsPresContext.h" #include "gfxContext.h" #include "nsRenderingContext.h" #include "nsGkAtoms.h" #include "nsIPresShell.h" #include "nsIPrintSettings.h" #include "nsPageFrame.h" #include "nsSubDocumentFrame.h"
--- a/layout/generic/nsSubDocumentFrame.cpp +++ b/layout/generic/nsSubDocumentFrame.cpp @@ -3,19 +3,20 @@ * 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/. */ /* * rendering object for replaced elements that contain a document, such * as <frame>, <iframe>, and some <object>s */ +#include "nsSubDocumentFrame.h" + #include "mozilla/layout/RenderFrameParent.h" -#include "nsSubDocumentFrame.h" #include "nsCOMPtr.h" #include "nsGenericHTMLElement.h" #include "nsAttrValueInlines.h" #include "nsIDocShell.h" #include "nsIContentViewer.h" #include "nsPresContext.h" #include "nsIPresShell.h" #include "nsIDocument.h"
--- a/layout/generic/nsVideoFrame.cpp +++ b/layout/generic/nsVideoFrame.cpp @@ -1,20 +1,21 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim:set ts=2 sw=2 sts=2 et cindent: */ /* 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/. */ /* rendering object for the HTML <video> element */ +#include "nsVideoFrame.h" + #include "nsCOMPtr.h" #include "nsGkAtoms.h" -#include "nsVideoFrame.h" #include "mozilla/dom/HTMLVideoElement.h" #include "nsIDOMHTMLVideoElement.h" #include "nsIDOMHTMLImageElement.h" #include "nsDisplayList.h" #include "nsGenericHTMLElement.h" #include "nsPresContext.h" #include "nsContentCreatorFunctions.h" #include "nsBoxLayoutState.h"