mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 799407: Fix warnings under layout/generic, r=roc
This commit is contained in:
parent
beb12efde5
commit
00416cfb9c
@ -14,7 +14,7 @@ TEST_DIRS += test
|
||||
MODULE = layout
|
||||
LIBRARY_NAME = gkgeneric_s
|
||||
LIBXUL_LIBRARY = 1
|
||||
|
||||
FAIL_ON_WARNINGS = 1
|
||||
|
||||
EXPORTS = \
|
||||
nsQueryFrame.h \
|
||||
|
@ -246,7 +246,6 @@ see the nsIEnumerator for more details*/
|
||||
private:
|
||||
int32_t mIndex;
|
||||
mozilla::Selection* mDomSelection;
|
||||
SelectionType mType;
|
||||
};
|
||||
|
||||
|
||||
|
@ -1289,8 +1289,8 @@ nsObjectFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
|
||||
nsTArray<nsNPAPIPluginInstance::VideoInfo*> videos;
|
||||
mInstanceOwner->GetVideos(videos);
|
||||
|
||||
for (int i = 0; i < videos.Length(); i++) {
|
||||
|
||||
for (uint32_t i = 0; i < videos.Length(); i++) {
|
||||
rv = replacedContent.AppendNewToTop(new (aBuilder)
|
||||
nsDisplayPluginVideo(aBuilder, this, videos[i]));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
@ -4680,7 +4680,7 @@ nsTextFrame::GetTextDecorations(
|
||||
const nsCompatibility compatMode = aPresContext->CompatibilityMode();
|
||||
|
||||
bool useOverride = false;
|
||||
nscolor overrideColor;
|
||||
nscolor overrideColor = nscolor(0);
|
||||
|
||||
// frameTopOffset represents the offset to f's top from our baseline in our
|
||||
// coordinate space
|
||||
|
Loading…
Reference in New Issue
Block a user