Teach DRefTool about placement new (placement) object()

RESOLVED INCOMPLETE

Status

--
enhancement
RESOLVED INCOMPLETE
15 years ago
2 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

15 years ago
Steps:
I:\build\mozilla\debug-i686-pc-cygwin\dist\bin>dreftool -D i:\build\mozilla\layout\xul\base\src\grid\nsGridRowLeafLayout.cpp

Actual results:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/xul/base/src/grid/nsGridRowLeafLayout.cpp&rev=1.6&mark=277#272
Deref-error: "current"
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/xul/base/src/grid/nsGridRowLeafLayout.cpp&rev=1.6&mark=278#273
Deref-error: "current"
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/xul/base/src/grid/nsGridRowLeafLayout.cpp&rev=1.6&mark=279#274
Deref-error: "current"
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/xul/base/src/grid/nsGridRowLeafLayout.cpp&rev=1.6&mark=280#275
Deref-error: "current"
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/xul/base/src/grid/nsGridRowLeafLayout.cpp&rev=1.6&mark=281#276
Deref-error: "current"
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/xul/base/src/grid/nsGridRowLeafLayout.cpp&rev=1.6&mark=282#277
Deref-error: "current"
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/xul/base/src/grid/nsGridRowLeafLayout.cpp&rev=1.6&mark=283#278
Deref-error: "current"
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/xul/base/src/grid/nsGridRowLeafLayout.cpp&rev=1.6&mark=284#279
Deref-error: "current"

Summary for i:\build\mozilla\layout\xul\base\src\grid\nsGridRowLeafLayout.cpp:
===============================
Files:  1
Lines:  434
Errors: 8

Expected Results:
Errors: 0

Code:
void
nsGridRowLeafLayout::PopulateBoxSizes(nsIBox* aBox, nsBoxLayoutState& aState, nsBoxSize*& aBoxSizes, 
nsComputedBoxSize*& aComputedBoxSizes, nscoord& aMinSize, nscoord& aMaxSize, PRInt32& aFlexes)
{
/*...*/
   nsBoxSize* current = nsnull;
/*...*/
     current = new (aState) nsBoxSize();
/*...*/
     current->pref = pref;
     current->min = min;
     current->max = max;
     current->flex = flex;
     current->bogus = column->mIsBogus;
     current->left = left + topMargin;
     current->right = right + bottomMargin;
     current->collapsed = collapsed;
/*...*/
}

Comment 1

14 years ago
Sorry but for a foreseeable future I would like to focus on table bugs and dont
intend to work on this.
Assignee: bernd_mozilla → timeless

Comment 2

2 years ago
Marking all tracking bugs which haven't been updated since 2014 as INCOMPLETE.
If this bug is still relevant, please reopen it and move it into a bugzilla component related to the work
being tracked. The Core: Tracking component will no longer be used.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.