Closed Bug 889148 Opened 11 years ago Closed 11 years ago

Remove unused QS/classinfo bits even more

Categories

(Core :: DOM: Events, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: emk, Assigned: emk)

Details

Attachments

(1 file)

Comment on attachment 769929 [details] [diff] [review]
patch

peterv should give his r+ for the DOMCI_CASTABLE_INTERFACE changes.

+DOMCI_CASTABLE_INTERFACE(mozilla::dom::EventTarget,                    \
+                         mozilla::dom::EventTarget, 0, _extra)         \
Why you need the latter \
Attachment #769929 - Flags: review?(peterv)
Attachment #769929 - Flags: review?(bugs)
Attachment #769929 - Flags: review+
Comment on attachment 769929 [details] [diff] [review]
patch

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

r- just for the DOMCI_CASTABLE_INTERFACE changes, take them out and land the rest.

::: dom/base/nsDOMClassInfo.cpp
@@ +232,5 @@
>  #include "nsIDOMMediaQueryList.h"
>  
>  #include "mozilla/dom/Activity.h"
>  
> +#include "nsDOMTouchEvent.h" //nsDOMTouchEvent::PrefEnabled

Don't do this.

::: dom/base/nsDOMClassInfoID.h
@@ -63,5 @@
> -DOMCI_CASTABLE_INTERFACE(nsStyledElement, nsStyledElement, 8, _extra)         \
> -DOMCI_CASTABLE_INTERFACE(nsSVGElement, nsIContent, 9, _extra)                 \
> -/* NOTE: When removing the casts below, remove the nsDOMEventBase class */    \
> -DOMCI_CASTABLE_INTERFACE(nsDOMMouseEvent, nsDOMEventBase, 10, _extra)         \
> -DOMCI_CASTABLE_INTERFACE(nsDOMUIEvent, nsDOMEventBase, 11, _extra)

We have explicitly not done this while we have quickstubs left, NEW_BINDING still uses DOMCI_CASTABLE_INTERFACE. We could go through the remaining quickstubs and take out what's unused, but I'd rather remove it all at once at the end.
Attachment #769929 - Flags: review?(peterv) → review-
https://hg.mozilla.org/integration/mozilla-inbound/rev/296f84d14045
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Flags: in-testsuite-
https://hg.mozilla.org/mozilla-central/rev/296f84d14045
Status: ASSIGNED → 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: