mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1178842 - Fix unified build for nsDisplayList.cpp when a new file is added to layout/base. r=mstange
This commit is contained in:
parent
a1c0e2c5c3
commit
e2ee7534b5
@ -71,6 +71,7 @@
|
||||
#include "nsISelection.h"
|
||||
#include "nsDOMTokenList.h"
|
||||
#include "mozilla/RuleNodeCacheConditions.h"
|
||||
#include "nsCSSProps.h"
|
||||
|
||||
// GetCurrentTime is defined in winbase.h as zero argument macro forwarding to
|
||||
// GetTickCount().
|
||||
@ -2519,7 +2520,7 @@ nsDisplayBackgroundImage::ConfigureLayer(ImageLayer* aLayer,
|
||||
if (imageWidth > 0 && imageHeight > 0) {
|
||||
// We're actually using the ImageContainer. Let our frame know that it
|
||||
// should consider itself to have painted successfully.
|
||||
nsDisplayBackgroundGeometry::UpdateDrawResult(this, DrawResult::SUCCESS);
|
||||
nsDisplayBackgroundGeometry::UpdateDrawResult(this, mozilla::image::DrawResult::SUCCESS);
|
||||
}
|
||||
|
||||
// XXX(seth): Right now we ignore aParameters.Scale() and
|
||||
@ -2696,7 +2697,7 @@ nsDisplayBackgroundImage::PaintInternal(nsDisplayListBuilder* aBuilder,
|
||||
uint32_t flags = aBuilder->GetBackgroundPaintFlags();
|
||||
CheckForBorderItem(this, flags);
|
||||
|
||||
DrawResult result =
|
||||
mozilla::image::DrawResult result =
|
||||
nsCSSRendering::PaintBackground(mFrame->PresContext(), *aCtx, mFrame,
|
||||
aBounds,
|
||||
nsRect(offset, mFrame->GetSize()),
|
||||
|
Loading…
Reference in New Issue
Block a user