Closed Bug 1015644 Opened 10 years ago Closed 10 years ago

Clean up ActiveElementManager

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: dzbarsky, Assigned: dzbarsky)

Details

Attachments

(1 file)

      No description provided.
Attached patch PatchSplinter Review
Assignee: nobody → dzbarsky
Attachment #8428301 - Flags: review?(botond)
Is there a reason for these changes?
Comment on attachment 8428301 [details] [diff] [review]
Patch

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

::: gfx/layers/apz/util/ActiveElementManager.h
@@ +13,5 @@
>  class CancelableTask;
>  
>  namespace mozilla {
> +namespace dom {
> +class Element;

Don't you need to forward-declare EventTarget as well?
Comment on attachment 8428301 [details] [diff] [review]
Patch

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

r=me with the missing include and forward-declaration fixed.

(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #2)
> Is there a reason for these changes?

Looks like part of a general transitioning from an old set of interfaces (nsIXXX) to a new set (dom::XXX). Fine with me if it doesn't regress anything :)

::: gfx/layers/apz/util/ActiveElementManager.cpp
@@ +11,3 @@
>  #include "base/message_loop.h"
>  #include "base/task.h"
> +#include "mozilla/dom/Element.h"

Likewise, shouldn't you also include "mozilla/dom/EventTarget.h"?
Attachment #8428301 - Flags: review?(botond) → review+
(In reply to Botond Ballo [:botond] from comment #4)
> Looks like part of a general transitioning from an old set of interfaces
> (nsIXXX) to a new set (dom::XXX). Fine with me if it doesn't regress
> anything :)

In that case this bug should block a meta-bug tracking the overall work so that people can find any relevant context.
https://hg.mozilla.org/mozilla-central/rev/8222bfcd04fb
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: