make FPS counter code a bit more readable

RESOLVED FIXED in mozilla26

Status

()

Core
Graphics: Layers
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: gal, Assigned: gal)

Tracking

Trunk
mozilla26
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Comment 1

5 years ago
Created attachment 795159 [details] [diff] [review]
patch
Assignee: nobody → gal
Attachment #795159 - Flags: review?(milan)
Comment on attachment 795159 [details] [diff] [review]
patch

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

::: gfx/layers/opengl/CompositorOGL.cpp
@@ +131,3 @@
>  
> +    // Convert the text encoding above to RGBA.
> +    uint32_t* buf = (uint32_t *) malloc(64 * 8 * sizeof(uint32_t));

Gross that we're not using nsAutoArrayPtr here, but this was a pre-existing issue.
Attachment #795159 - Flags: review?(milan) → review+
(Assignee)

Updated

5 years ago
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/e05be80d4904
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.