Closed
Bug 1265927
Opened 10 years ago
Closed 10 years ago
Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla49
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | fixed |
People
(Reporter: khuey, Assigned: khuey)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
510.49 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
This is largely mechanical.
Attachment #8743051 -
Flags: review?(nfroyd)
| Assignee | ||
Comment 1•10 years ago
|
||
fyi comm-central will need some simple adjustments here.
Comment 2•10 years ago
|
||
Comment on attachment 8743051 [details] [diff] [review]
Patch
Review of attachment 8743051 [details] [diff] [review]:
-----------------------------------------------------------------
I'm going to assume this was essentially:
find . -name \*.h | xargs perl -pie 's/\bnsRunnable\b/mozilla::Runnable/g'
find . -name \*.cpp | xargs perl -pie 's/\bnsRunnable\b/Runnable/g'
with a bit of smarts on the header side to not add qualifiers when necessary. Picking a couple of files at random suggests this is the case.
Attachment #8743051 -
Flags: review?(nfroyd) → review+
| Assignee | ||
Comment 3•10 years ago
|
||
It was a little more complicated than that, but yeah, that's pretty much what it was.
Comment 4•10 years ago
|
||
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #1)
> fyi comm-central will need some simple adjustments here.
Thanks Kyle for the heads-up!
Comment 6•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Updated•10 years ago
|
Target Milestone: mozilla48 → mozilla49
Depends on: 1268822
Comment 7•9 years ago
|
||
Hi Nathan!
Sorry to uncover this old bug, but does the changes here imply that the docs at [1] (and other places?) need to be updated?
[1] - https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Guide/Cross-thread_calls_using_runnables
Flags: needinfo?(nfroyd)
Comment 8•9 years ago
|
||
(In reply to Alessio Placitelli [:Dexter] from comment #7)
> Sorry to uncover this old bug, but does the changes here imply that the docs
> at [1] (and other places?) need to be updated?
Yes! Thanks for ferreting that out.
Flags: needinfo?(nfroyd)
Comment 9•9 years ago
|
||
(In reply to Nathan Froyd [:froydnj] from comment #8)
> (In reply to Alessio Placitelli [:Dexter] from comment #7)
> > Sorry to uncover this old bug, but does the changes here imply that the docs
> > at [1] (and other places?) need to be updated?
>
> Yes! Thanks for ferreting that out.
Cool! Who is going to do that? Should we simply mark this with dev-doc-needed?
Flags: needinfo?(nfroyd)
Comment 10•9 years ago
|
||
(In reply to Alessio Placitelli [:Dexter] from comment #9)
> (In reply to Nathan Froyd [:froydnj] from comment #8)
> > (In reply to Alessio Placitelli [:Dexter] from comment #7)
> > > Sorry to uncover this old bug, but does the changes here imply that the docs
> > > at [1] (and other places?) need to be updated?
> >
> > Yes! Thanks for ferreting that out.
>
> Cool! Who is going to do that? Should we simply mark this with
> dev-doc-needed?
I know that's what you do for web-facing things; I'm less certain about what to do for Gecko internals. I will put this on my list of things to do. Thanks!
Flags: needinfo?(nfroyd)
You need to log in
before you can comment on or make changes to this bug.
Description
•