New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 747068 link

Starred by 0 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Investigate possible leak in PaintFlags properties in BRC2D

Project Member Reported by zakerinasab@chromium.org, Jul 20 2017

Issue description

In BaseRenderingContext2D.h, the Draw() function creates the PaintFlags object by calling GetState().GetFlags(). If we change the order of first two tests appearing in third_party/WebKit/LayoutTests/fast/canvas/set-colors.html, the PaintFlags object used for FillStyle test in fillRect has the dithering flag set to true. Apparently, this has been leaked from the PaintFlags object used to draw the gradient.

I'm not sure if this is expected (for example, because we are drawing the solid color over the gradient, we keep the dithering true) or this is an unexpected leak. This needs more investigation.
 
Status: WontFix (was: Assigned)
There is no leak here. Dithering is always set to true for gradients:
https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/graphics/Gradient.cpp?dr=CSs&l=180

Sign in to add a comment