Remove debug statements that require customized #define
Categories
(Core :: Layout, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(1 file)
See the patch for details.
| Assignee | ||
Comment 1•1 year ago
|
||
The debug statements all require customized #define to enable. I don't feel it
is useful to leave code that is not compiled in the default debug build.
Updated•1 year ago
|
Comment 2•1 year ago
|
||
(In reply to Ting-Yu Lin [:TYLin] (PDT, UTC-7) from comment #1)
The debug statements all require customized #define to enable. I don't feel it
is useful to leave code that is not compiled in the default debug build.
While I don't have any objection to this patch, in general I think that it can be quite useful to have code like this.
Two examples that I use
https://searchfox.org/mozilla-central/rev/fc76676f61ee37b4c5420649cad6677164a29405/gfx/layers/wr/WebRenderCommandBuilder.cpp#51
https://searchfox.org/mozilla-central/rev/fc76676f61ee37b4c5420649cad6677164a29405/layout/painting/RetainedDisplayListBuilder.cpp#867
| Assignee | ||
Comment 3•1 year ago
|
||
Comment 4•1 year ago
|
||
They produce a lot of output.
Comment 6•1 year ago
|
||
| bugherder | ||
Description
•