Bug 1304598 Part 7 - Move BRFrame to mozilla namespace, and rename nsBRFrame.cpp to BRFrame.cpp. r=dholbert

MozReview-Commit-ID: 8IfleSWm1Af

--HG--
rename : layout/generic/nsBRFrame.cpp => layout/generic/BRFrame.cpp
extra : rebase_source : dd41317fa5990db720903fa0e9a22e424a2f56dd
This commit is contained in:
Ting-Yu Lin 2016-11-30 11:14:29 +08:00
parent cb22e24990
commit 728e7feacc
2 changed files with 7 additions and 3 deletions

View File

@ -22,11 +22,13 @@
using namespace mozilla;
namespace mozilla {
class BRFrame : public nsFrame {
public:
NS_DECL_FRAMEARENA_HELPERS
friend nsIFrame* NS_NewBRFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
friend nsIFrame* ::NS_NewBRFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
virtual ContentOffsets CalcContentOffsetsFromFramePoint(nsPoint aPoint) override;
@ -67,6 +69,8 @@ protected:
nscoord mAscent;
};
} // namespace mozilla
nsIFrame*
NS_NewBRFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
{

View File

@ -19,7 +19,7 @@ with Files('nsLine*'):
with Files('nsInlineFrame.*'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('nsBRFrame.*'):
with Files('BRFrame.*'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('nsBulletFrame.*'):
@ -127,6 +127,7 @@ EXPORTS.mozilla.layout += [
UNIFIED_SOURCES += [
'AsyncScrollBase.cpp',
'BlockReflowInput.cpp',
'BRFrame.cpp',
'CSSAlignUtils.cpp',
'DetailsFrame.cpp',
'FrameChildList.cpp',
@ -135,7 +136,6 @@ UNIFIED_SOURCES += [
'nsBackdropFrame.cpp',
'nsBlockFrame.cpp',
'nsBlockReflowContext.cpp',
'nsBRFrame.cpp',
'nsBulletFrame.cpp',
'nsCanvasFrame.cpp',
'nsColumnSetFrame.cpp',