Closed Bug 909113 Opened 11 years ago Closed 11 years ago

make FPS counter code a bit more readable

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: gal, Assigned: gal)

Details

Attachments

(1 file)

      No description provided.
Attached patch patchSplinter Review
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+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/e05be80d4904
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: