Added failure check for call to nsStyleData::GetBorder()
git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1803,7 +1803,9 @@ nsCSSRendering::PaintBackground(nsIPresContext& aPresContext,
|
||||
nsRect paddingArea(aBorderArea);
|
||||
nsMargin border;
|
||||
|
||||
aSpacing.GetBorder(border);
|
||||
if (!aSpacing.GetBorder(border)) {
|
||||
NS_NOTYETIMPLEMENTED("percentage border");
|
||||
}
|
||||
paddingArea.Deflate(border);
|
||||
|
||||
// The actual dirty rect is the intersection of the padding area and the
|
||||
|
||||
Reference in New Issue
Block a user