Paint component alpha layer borders in blue

RESOLVED FIXED in mozilla25

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Tracking

unspecified
mozilla25
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 767260 [details] [diff] [review]
Paint component alpha layer borders in blue

More information is more better
Attachment #767260 - Flags: review?(nical.bugzilla)
Comment on attachment 767260 [details] [diff] [review]
Paint component alpha layer borders in blue

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

::: gfx/layers/composite/ContentHost.cpp
@@ +179,5 @@
> +                GetCompositor()->DrawDiagnostics(gfx::Color(0.0,0.0,1.0,1.0),
> +                                                 rect, aClipRect, aTransform, aOffset);
> +            else
> +                GetCompositor()->DrawDiagnostics(gfx::Color(0.0,1.0,0.0,1.0),
> +                                                 rect, aClipRect, aTransform, aOffset);

nit: please add braces for the if and else blocks
Attachment #767260 - Flags: review?(nical.bugzilla) → review+
https://hg.mozilla.org/mozilla-central/rev/ac51721cd312
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.