Closed
Bug 1218454
Opened 9 years ago
Closed 9 years ago
clean up including nsContentUtils.h
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: froydnj, Assigned: froydnj)
References
Details
Attachments
(4 files)
950 bytes,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
2.34 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
22.05 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
1.71 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
We used to need nsContentUtils.h here for nsCxPusher, but since that got moved to ScriptSettings.h, we no longer need nsContentUtils.h for anything.
Attachment #8678937 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•9 years ago
|
||
No reason for one ::Get to be out-of-line and the other not. This change means that nsGlobalWindow.h doesn't depend on nsContentUtils.
Attachment #8678938 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•9 years ago
|
||
There's no reason for this function to be declared in nsILoadContext's class declaration. A lot of fixups for nsContentUtils.h bootlegging are necessary, however.
Attachment #8678939 -
Flags: review?(bzbarsky)
Comment 4•9 years ago
|
||
Comment on attachment 8678937 [details] [diff] [review] part 0 - don't #include nsContentUtils.h from CallbackObject.h r=me
Attachment #8678937 -
Flags: review?(bzbarsky) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8678938 [details] [diff] [review] part 1 - move DialogValueHolder::Get out-of-line >+DialogValueHolder::Get(JSContext* aCx, JS::Handle<JSObject*> aScope, nsIPrincipal* aSubject, >+ JS::MutableHandle<JS::Value> aResult, mozilla::ErrorResult& aError) Fix indent. And watch the 80 col limit? r=me
Attachment #8678938 -
Flags: review?(bzbarsky) → review+
Comment 6•9 years ago
|
||
Comment on attachment 8678939 [details] [diff] [review] part 2 - move nsILoadContext::GetOriginAttributes out-of-line r=me, but I expect all those additional #include bits should be in part 0, not here.... Otherwise I expect applying just part 0 does not compile. Similarly, should part 1 be before part 0?
Attachment #8678939 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 7•9 years ago
|
||
A few additional #include bootleggings turned up that didn't seem to fit into the previous two patches. Should be trivial to review.
Attachment #8694681 -
Flags: review?(bzbarsky)
Comment 8•9 years ago
|
||
Comment on attachment 8694681 [details] [diff] [review] part 2a - fix bootlegging of nsContentUtils.h includes from nsILoadContext.h r=me
Attachment #8694681 -
Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/97b38c3a1063 https://hg.mozilla.org/integration/mozilla-inbound/rev/ae0fb501e531 https://hg.mozilla.org/integration/mozilla-inbound/rev/a06c0763b93a https://hg.mozilla.org/integration/mozilla-inbound/rev/8ff6fdf5aeea
Comment 10•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/97b38c3a1063 https://hg.mozilla.org/mozilla-central/rev/ae0fb501e531 https://hg.mozilla.org/mozilla-central/rev/a06c0763b93a https://hg.mozilla.org/mozilla-central/rev/8ff6fdf5aeea
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in
before you can comment on or make changes to this bug.
Description
•