Bug 1151306 - Add a missing check during background color pulling. r=roc

This commit is contained in:
Markus Stange 2015-04-05 14:05:44 -04:00
parent 5d5e7a6090
commit 094e47861d

View File

@ -2315,6 +2315,7 @@ nscolor
PaintedLayerDataNode::FindOpaqueBackgroundColorCoveringEverything() const
{
if (!mPaintedLayerDataStack.IsEmpty() ||
mAllDrawingAboveBackground ||
!mVisibleAboveBackgroundRegion.IsEmpty()) {
return NS_RGBA(0,0,0,0);
}