mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1109705 - Fix more bad implicit constructors in layout; r=roc
This commit is contained in:
parent
e1b3b9d76c
commit
82c69d955e
@ -532,7 +532,7 @@ protected:
|
||||
struct ContinuationTraversingState
|
||||
{
|
||||
nsContainerFrame* mNextInFlow;
|
||||
ContinuationTraversingState(nsContainerFrame* aFrame)
|
||||
explicit ContinuationTraversingState(nsContainerFrame* aFrame)
|
||||
: mNextInFlow(static_cast<nsContainerFrame*>(aFrame->GetNextInFlow()))
|
||||
{ }
|
||||
};
|
||||
|
@ -86,7 +86,7 @@ public:
|
||||
// Structure that stores the current state of a frame manager for
|
||||
// Save/Restore purposes.
|
||||
struct SavedState {
|
||||
SavedState(mozilla::WritingMode aWM)
|
||||
explicit SavedState(mozilla::WritingMode aWM)
|
||||
: mWritingMode(aWM)
|
||||
, mOrigin(aWM)
|
||||
{}
|
||||
|
@ -394,7 +394,7 @@ struct MOZ_STACK_CLASS nsRubyBaseContainerFrame::PullFrameState
|
||||
ContinuationTraversingState mBase;
|
||||
nsAutoTArray<ContinuationTraversingState, RTC_ARRAY_SIZE> mTexts;
|
||||
|
||||
PullFrameState(nsRubyBaseContainerFrame* aFrame);
|
||||
explicit PullFrameState(nsRubyBaseContainerFrame* aFrame);
|
||||
};
|
||||
|
||||
nscoord
|
||||
|
@ -62,7 +62,7 @@ nsRubyFrame::GetFrameName(nsAString& aResult) const
|
||||
class MOZ_STACK_CLASS TextContainerIterator
|
||||
{
|
||||
public:
|
||||
TextContainerIterator(nsRubyBaseContainerFrame* aBaseContainer);
|
||||
explicit TextContainerIterator(nsRubyBaseContainerFrame* aBaseContainer);
|
||||
void Next();
|
||||
bool AtEnd() const { return !mFrame; }
|
||||
nsRubyTextContainerFrame* GetTextContainer() const
|
||||
@ -99,7 +99,7 @@ TextContainerIterator::Next()
|
||||
class MOZ_STACK_CLASS AutoSetTextContainers
|
||||
{
|
||||
public:
|
||||
AutoSetTextContainers(nsRubyBaseContainerFrame* aBaseContainer);
|
||||
explicit AutoSetTextContainers(nsRubyBaseContainerFrame* aBaseContainer);
|
||||
~AutoSetTextContainers();
|
||||
|
||||
private:
|
||||
@ -130,7 +130,7 @@ AutoSetTextContainers::~AutoSetTextContainers()
|
||||
class MOZ_STACK_CLASS SegmentEnumerator
|
||||
{
|
||||
public:
|
||||
SegmentEnumerator(nsRubyFrame* aRubyFrame);
|
||||
explicit SegmentEnumerator(nsRubyFrame* aRubyFrame);
|
||||
|
||||
void Next();
|
||||
bool AtEnd() const { return !mBaseContainer; }
|
||||
|
Loading…
Reference in New Issue
Block a user