зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1382257 - Correct returning value of PaintBorderWithStyleBorder. r=mstange
We overwrites DrawResult returning from nsCSSBorderImageRenderer::CreateBorderImageRenderer by the returning value of DrawBorderImage, which is not right. MozReview-Commit-ID: 1EeqU5hLyln --HG-- extra : rebase_source : a78aa841795afa830b66da650a619f46230b10dd
This commit is contained in:
Родитель
c7c7a878ef
Коммит
27356c8da4
|
@ -834,12 +834,12 @@ nsCSSRendering::PaintBorderWithStyleBorder(nsPresContext* aPresContext,
|
|||
aStyleBorder, aDirtyRect, aSkipSides,
|
||||
irFlags, &result);
|
||||
if (aStyleBorder.IsBorderImageLoaded()) {
|
||||
if (!renderer) {
|
||||
return result;
|
||||
if (renderer) {
|
||||
result &= renderer->DrawBorderImage(aPresContext, aRenderingContext,
|
||||
aForFrame, aDirtyRect);
|
||||
}
|
||||
|
||||
return renderer->DrawBorderImage(aPresContext, aRenderingContext,
|
||||
aForFrame, aDirtyRect);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче