From e2ee7534b5bf62db76c0b748afce9a8a7b3e1f12 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Tue, 30 Jun 2015 14:49:03 -0400 Subject: [PATCH] Bug 1178842 - Fix unified build for nsDisplayList.cpp when a new file is added to layout/base. r=mstange --- layout/base/nsDisplayList.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layout/base/nsDisplayList.cpp b/layout/base/nsDisplayList.cpp index 478554a8fe5e..3544c2208978 100644 --- a/layout/base/nsDisplayList.cpp +++ b/layout/base/nsDisplayList.cpp @@ -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()),