Closed Bug 936566 Opened 11 years ago Closed 11 years ago

Print mask layers in layers dump

Categories

(Core :: Graphics: Layers, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: BenWa, Assigned: BenWa)

Details

(Whiteboard: [qa-])

Attachments

(1 file, 2 obsolete files)

Attached patch patch (obsolete) — Splinter Review
      No description provided.
Attachment #829398 - Flags: review?(ncameron)
Assignee: nobody → bgirard
Comment on attachment 829398 [details] [diff] [review]
patch

Review of attachment 829398 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, but the patch is kinda borked - it has the changes twice and not enough context.

::: gfx/layers/Layers.cpp
@@ +1270,5 @@
> +  if (mMaskLayer) {
> +    nsAutoCString pfx(aPrefix);
> +    pfx += "   \\ MaskLayer ";
> +    mMaskLayer->LogSelf(pfx.get());
> +  }

Can this block be in PrintInfo too? I don't see why it is separated off into LogSelf when we just called PrintInfo.
Attachment #829398 - Flags: review?(ncameron) → review+
Not for the formatting I want. The layer's will be [mMaskLayer=%p] and will be followed by the MaskLayer on the next line. So it needs to be after to get the new line.
(In reply to Benoit Girard (:BenWa) from comment #2)
> Not for the formatting I want. The layer's will be [mMaskLayer=%p] and will
> be followed by the MaskLayer on the next line. So it needs to be after to
> get the new line.

Fair enough, looks good as is.
Attached patch patch v2 (obsolete) — Splinter Review
Attachment #829398 - Attachment is obsolete: true
Attachment #8335002 - Flags: review+
Keywords: checkin-needed
Attached patch patch v3Splinter Review
forgot qref
Attachment #8335002 - Attachment is obsolete: true
Attachment #8335086 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/7d8f41da1da9
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: