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
03aa3e3bb6
commit
4304df5794
@ -1269,8 +1269,8 @@ nsObjectFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||||||
|
|
||||||
nsTArray<nsNPAPIPluginInstance::VideoInfo*> videos;
|
nsTArray<nsNPAPIPluginInstance::VideoInfo*> videos;
|
||||||
mInstanceOwner->GetVideos(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)
|
rv = replacedContent.AppendNewToTop(new (aBuilder)
|
||||||
nsDisplayPluginVideo(aBuilder, this, videos[i]));
|
nsDisplayPluginVideo(aBuilder, this, videos[i]));
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
@ -4680,7 +4680,7 @@ nsTextFrame::GetTextDecorations(
|
|||||||
const nsCompatibility compatMode = aPresContext->CompatibilityMode();
|
const nsCompatibility compatMode = aPresContext->CompatibilityMode();
|
||||||
|
|
||||||
bool useOverride = false;
|
bool useOverride = false;
|
||||||
nscolor overrideColor;
|
nscolor overrideColor = NS_RGBA(0, 0, 0, 0);
|
||||||
|
|
||||||
// frameTopOffset represents the offset to f's top from our baseline in our
|
// frameTopOffset represents the offset to f's top from our baseline in our
|
||||||
// coordinate space
|
// coordinate space
|
||||||
|
Loading…
Reference in New Issue
Block a user