Closed Bug 886845 Opened 11 years ago Closed 11 years ago

Paint component alpha layer borders in blue

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Details

Attachments

(1 file)

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
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: