Closed Bug 1154352 Opened 9 years ago Closed 9 years ago

Synchronously record feature status

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

Attachments

(1 file)

      No description provided.
Attachment #8592326 - Flags: review?(ehsan)
Comment on attachment 8592326 [details] [diff] [review]
Synchronously record feature status

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

::: gfx/src/gfxCrashReporterUtils.cpp
@@ +70,2 @@
>  public:
> +  NS_IMETHOD Run() {

Nit: override

@@ +74,5 @@
>      //    leaked 1 instance of nsTArray_base with size 8 bytes
>      //    leaked 7 instances of nsStringBuffer with size 8 bytes each (56 bytes total)
>      // So this is a work-around using a pointer, and using a nsIObserver to deallocate on xpcom shutdown.
>      // Yay for fighting bloat.
> +    nsCOMPtr<nsIObserverService> observerService = mozilla::services::GetObserverService();

Please MOZ_ASSERT that this runs on the main thread.

@@ +86,1 @@
>      }

This whole block is no-op, please remove it and the rv variable.
Attachment #8592326 - Flags: review?(ehsan) → review+
https://hg.mozilla.org/mozilla-central/rev/9ae890059b3c
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: