Closed
Bug 1399399
Opened 8 years ago
Closed 8 years ago
Move internal classes out of RootingAPI.h
Categories
(Core :: JavaScript: GC, enhancement, P4)
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: jonco, Assigned: allstars.chh)
Details
(Keywords: good-first-bug)
Attachments
(1 file, 1 obsolete file)
7.46 KB,
patch
|
allstars.chh
:
review+
|
Details | Diff | Splinter Review |
There are a few classes defined in the public header RootingAPI.h that are not used outside of the JS engine. These should be moved to an internal header, possibly gc/Rooting.h. A quick look shows there are at least the following:
- FakeRooted
- FakeMutableHandle
- MaybeRooted
Updated•8 years ago
|
Priority: -- → P4
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → allstars.chh
Assignee | ||
Comment 1•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8911013 -
Flags: review?(jcoppeard)
Reporter | ||
Comment 2•8 years ago
|
||
Comment on attachment 8911013 [details] [diff] [review]
Move internal classes out of RootingAPI.h
Review of attachment 8911013 [details] [diff] [review]:
-----------------------------------------------------------------
Great, thanks for the patch!
::: js/src/gc/Rooting.h
@@ +11,5 @@
> #include "js/RootingAPI.h"
>
> +#define DELETE_ASSIGNMENT_OPS(Wrapper, T) \
> + template <typename S> Wrapper<T>& operator=(S) = delete; \
> + Wrapper<T>& operator=(const Wrapper<T>&) = delete;
You can just remove the #undef from the end of RootingAPI.h, then you don't need to define/undef it in this file.
Attachment #8911013 -
Flags: review?(jcoppeard) → review+
Assignee | ||
Comment 3•8 years ago
|
||
addressed comment.
Attachment #8911013 -
Attachment is obsolete: true
Attachment #8911641 -
Flags: review+
Pushed by yhuang@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9180e59a44f7
Move internal classes out of RootingAPI.h. r=jonco
![]() |
||
Comment 5•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•