Closed
Bug 919865
Opened 12 years ago
Closed 11 years ago
Replace #ifdef DEBUG with DebugOnly<> in a few spots in layout/generic
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: dholbert, Assigned: dholbert)
Details
Attachments
(1 file, 2 obsolete files)
5.61 KB,
patch
|
MatsPalmgren_bugz
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Comment 2•12 years ago
|
||
Comment on attachment 808983 [details] [diff] [review]
fix v1
In the first hunk, the "aNextInFlow->GetPrevInFlow()" adds a virtual
call in Opt builds. Perhaps it's possible to do the assignment inside
the assertion?
It looks like most of the other ones could fit on the same line?
Attachment #808983 -
Flags: review?(matspal) → review-
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to Mats Palmgren (:mats) from comment #2)
> In the first hunk, the "aNextInFlow->GetPrevInFlow()" adds a virtual
> call in Opt builds. Perhaps it's possible to do the assignment inside
> the assertion?
Oops! thanks for catching that. I just won't bother with that hunk -- the variable is used later in the function, too, and moving the assignment into the assertion feels hackier than what we have right now, so I'll just leave that as-is.
> It looks like most of the other ones could fit on the same line?
True. I'll fix those and re-post.
Assignee | ||
Comment 4•12 years ago
|
||
This version has that first hunk removed, and the remaining hunks converted to put things on one line.
(In the final hunk, I reduced the odd 4-space indentation in the contextual code, since most of the rest of that file uses our normal 2-space indentation, and since I needed to reduce it anyway to get it into 80 characters.)
Attachment #808983 -
Attachment is obsolete: true
Attachment #809557 -
Flags: review?(matspal)
Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 809557 [details] [diff] [review]
[ignore]
sorry, forgot to qref; let's try that again
Attachment #809557 -
Attachment description: fix v2 → [ignore]
Assignee | ||
Comment 6•12 years ago
|
||
ok, here's the right version.
Attachment #809557 -
Attachment is obsolete: true
Attachment #809557 -
Flags: review?(matspal)
Assignee | ||
Updated•12 years ago
|
Attachment #809558 -
Flags: review?(matspal)
Comment 7•12 years ago
|
||
Comment on attachment 809558 [details] [diff] [review]
fix v2
> moving the assignment into the assertion feels hackier than what we have
> right now, so I'll just leave that as-is.
Yeah, that's a good call. r=mats
Attachment #809558 -
Flags: review?(matspal) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Sanity-check try run: https://tbpl.mozilla.org/?tree=Try&rev=56ee8a42a017
Assignee | ||
Comment 10•11 years ago
|
||
Flags: needinfo?(dholbert)
Assignee | ||
Updated•11 years ago
|
Flags: in-testsuite-
Comment 11•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•