Closed
Bug 682744
Opened 13 years ago
Closed 13 years ago
Sprinkle some do_QueryObject fairy dust around the tree
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: khuey, Assigned: marco)
References
()
Details
Attachments
(1 file, 1 obsolete file)
23.60 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
Back in the days before do_QueryObject, you had to write: nsCOMPtr<nsIFoo> = do_QueryInterface(static_cast<nsIBar>(someVariableOfAConcreteType)); These days, you can just write: nsCOMPtr<nsIFoo> = do_QueryObject(someVariableOfAConcreteType); The MXR query shows some usages that haven't been converted, and I'm pretty sure all of them can be converted.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → mar.castelluccio
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #556621 -
Flags: review?(khuey)
Reporter | ||
Comment 2•13 years ago
|
||
would be nice if you collapsed the lines that are now under 80 characters long ...
Assignee | ||
Comment 3•13 years ago
|
||
Collapsed the lines ;)
Attachment #556621 -
Attachment is obsolete: true
Attachment #556621 -
Flags: review?(khuey)
Attachment #556738 -
Flags: review?(khuey)
Reporter | ||
Updated•13 years ago
|
Attachment #556738 -
Flags: review?(khuey) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 4•13 years ago
|
||
In my queue :-)
Updated•13 years ago
|
Flags: in-testsuite-
Comment 5•13 years ago
|
||
http://tbpl.allizom.org/?usebuildbot=1&tree=Try&rev=e9351f9ab296 http://hg.mozilla.org/integration/mozilla-inbound/rev/31b7b26ff4f9
Updated•13 years ago
|
Target Milestone: --- → mozilla9
Comment 6•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/31b7b26ff4f9
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•