Bug 1178842 - Fix unified build for nsDisplayList.cpp when a new file is added to layout/base. r=mstange

This commit is contained in:
Kartikaya Gupta 2015-06-30 14:49:03 -04:00
Родитель a1c0e2c5c3
Коммит e2ee7534b5
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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()),