Closed
Bug 684616
Opened 13 years ago
Closed 13 years ago
nsGIOProtocolHandler use obsolete interface
Categories
(Firefox :: Shell Integration, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 696030
People
(Reporter: legion, Unassigned)
Details
Attachments
(1 file)
1.60 KB,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20110328 Firefox/6.0 Build ID: 20110823115500 Steps to reproduce: The extensions/gio/nsGIOProtocolHandler.cpp does not build because it uses an obsolete interface (mozilla/Monitor.h). Attached patch fix it.
Reporter | ||
Updated•13 years ago
|
Component: General → Shell Integration
Reporter | ||
Updated•13 years ago
|
Attachment #558187 -
Flags: review?(roc)
Comment on attachment 558187 [details] [diff] [review] gio-protocol-handler patch (v1) Review of attachment 558187 [details] [diff] [review]: ----------------------------------------------------------------- Monitor.h is not obsolete as far as I know. You need to use MonitorAutoLock instead of MonitorAutoEnter. Does this monitor actually have to be reentrant? If not, let's not make it so.
Reporter | ||
Comment 2•13 years ago
|
||
Monitor was renamed to ReentrantMonitor: http://hg.mozilla.org/mozilla-central/rev/0912e0484031 But nsGIOProtocolHandler was not part of this commit.
Reporter | ||
Comment 3•13 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #1) > You need to use MonitorAutoLock instead of MonitorAutoEnter. I will fix it. Thanks. > Does this monitor actually have to be reentrant? If not, let's not make it > so. I have made the same renaming in the nsGIOProtocolHandler as well as in rev/0912e0484031. What should I use in nsGIOProtocolHandler instead of Monitor ?
Comment 4•13 years ago
|
||
Marking this one as dupe to the newer one just because it's unconfirmed and both have "almost done" patches.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Attachment #558187 -
Flags: review?(roc)
You need to log in
before you can comment on or make changes to this bug.
Description
•