Closed Bug 682744 Opened 10 years ago Closed 10 years ago
Sprinkle some do
_Query Object fairy dust around the tree
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.
would be nice if you collapsed the lines that are now under 80 characters long ...
Collapsed the lines ;)
10 years ago
Attachment #556738 - Flags: review?(khuey) → review+
In my queue :-)
Status: NEW → ASSIGNED
Version: 8 Branch → Trunk
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.