Loading layout/base/nsCSSRendering.cpp +6 −2 Original line number Diff line number Diff line Loading @@ -1020,7 +1020,8 @@ nsCSSRendering::PaintBoxShadowOuter(nsPresContext* aPresContext, nsRenderingContext& aRenderingContext, nsIFrame* aForFrame, const nsRect& aFrameArea, const nsRect& aDirtyRect) const nsRect& aDirtyRect, float aOpacity) { const nsStyleBorder* styleBorder = aForFrame->StyleBorder(); nsCSSShadowArray* shadows = styleBorder->mBoxShadow; Loading Loading @@ -1132,8 +1133,11 @@ nsCSSRendering::PaintBoxShadowOuter(nsPresContext* aPresContext, else shadowColor = aForFrame->StyleColor()->mColor; gfxRGBA gfxShadowColor(shadowColor); gfxShadowColor.a *= aOpacity; renderContext->Save(); renderContext->SetColor(gfxRGBA(shadowColor)); renderContext->SetColor(gfxShadowColor); // Draw the shape of the frame so it can be blurred. Recall how nsContextBoxBlur // doesn't make any temporary surfaces if blur is 0 and it just returns the original Loading layout/base/nsCSSRendering.h +2 −1 Original line number Diff line number Diff line Loading @@ -264,7 +264,8 @@ struct nsCSSRendering { nsRenderingContext& aRenderingContext, nsIFrame* aForFrame, const nsRect& aFrameArea, const nsRect& aDirtyRect); const nsRect& aDirtyRect, float aOpacity = 1.0); static void ComputePixelRadii(const nscoord *aAppUnitsRadii, nscoord aAppUnitsPerPixel, Loading Loading
layout/base/nsCSSRendering.cpp +6 −2 Original line number Diff line number Diff line Loading @@ -1020,7 +1020,8 @@ nsCSSRendering::PaintBoxShadowOuter(nsPresContext* aPresContext, nsRenderingContext& aRenderingContext, nsIFrame* aForFrame, const nsRect& aFrameArea, const nsRect& aDirtyRect) const nsRect& aDirtyRect, float aOpacity) { const nsStyleBorder* styleBorder = aForFrame->StyleBorder(); nsCSSShadowArray* shadows = styleBorder->mBoxShadow; Loading Loading @@ -1132,8 +1133,11 @@ nsCSSRendering::PaintBoxShadowOuter(nsPresContext* aPresContext, else shadowColor = aForFrame->StyleColor()->mColor; gfxRGBA gfxShadowColor(shadowColor); gfxShadowColor.a *= aOpacity; renderContext->Save(); renderContext->SetColor(gfxRGBA(shadowColor)); renderContext->SetColor(gfxShadowColor); // Draw the shape of the frame so it can be blurred. Recall how nsContextBoxBlur // doesn't make any temporary surfaces if blur is 0 and it just returns the original Loading
layout/base/nsCSSRendering.h +2 −1 Original line number Diff line number Diff line Loading @@ -264,7 +264,8 @@ struct nsCSSRendering { nsRenderingContext& aRenderingContext, nsIFrame* aForFrame, const nsRect& aFrameArea, const nsRect& aDirtyRect); const nsRect& aDirtyRect, float aOpacity = 1.0); static void ComputePixelRadii(const nscoord *aAppUnitsRadii, nscoord aAppUnitsPerPixel, Loading