Closed Bug 486644 Opened 15 years ago Closed 15 years ago

improve debug output for display lists with nsDisplayTransform

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tnikkel, Assigned: tnikkel)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
Build Identifier: 

nsDisplayTransform has a stored list of display items but it doesn't expose it using the normal GetList method. When printing out a display list it is useful to print this stored list.

Reproducible: Always
Attached patch patch (obsolete) — Splinter Review
Attachment #370819 - Flags: review?
Comment on attachment 370819 [details] [diff] [review]
patch

Review requests are much less likely to get lost if they're to a specific person.  In this case, roc is the right person.
Comment on attachment 370819 [details] [diff] [review]
patch

+#ifdef NS_DEBUG
+  virtual nsDisplayWrapList* GetStoredList() { return &mStoredList; }
+#endif

Doesn't need to be virtual. Otherwise good.
Attachment #370819 - Flags: review?(roc) → review+
Post a new patch, and we can get this landed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #370819 - Attachment is obsolete: true
http://hg.mozilla.org/mozilla-central/rev/94460d21365a

Thanks!!!
Assignee: nobody → tnikkel
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: