Closed Bug 908530 Opened 11 years ago Closed 11 years ago

Stop including xpcpublic.h in DOMJSProxyHandler.h

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Patch coming up; unfortunately all sorts of stuff was bootlegged via xpcpublic.h various places.  :(
Comment on attachment 794502 [details] [diff] [review]
part 1.  Make Link::GetURI return a raw pointer so we don't have to include nsIURI.h in Link.h.

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

HasURI--

::: content/base/src/Link.h
@@ +50,2 @@
>      return GetURI();
>    }

This is effectively an interface change, no?  I think you need to change the IID.

::: toolkit/components/places/tests/cpp/mock_Link.h
@@ +105,1 @@
>  Link::GetURI() const 

While you're here, remove the extra whitespace after const?
Attachment #794502 - Flags: review?(khuey) → review+
Comment on attachment 794503 [details] [diff] [review]
part 3.  Stop including xpcpublic.h in DOMJSProxyHandler.h.

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

\o/
Attachment #794503 - Flags: review?(khuey) → review+
> This is effectively an interface change, no?  I think you need to change the IID.

Yes, good catch.

https://hg.mozilla.org/integration/mozilla-inbound/rev/c0d21a0f1695
https://hg.mozilla.org/integration/mozilla-inbound/rev/14db98f529bd
https://hg.mozilla.org/integration/mozilla-inbound/rev/e39cb2e48c27
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla26
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: