Last Comment Bug 740063 - Add nsINode::AsDOMNode();
: Add nsINode::AsDOMNode();
Product: Core
Classification: Components
Component: DOM (show other bugs)
: 12 Branch
: x86_64 Linux
-- normal (vote)
: ---
Assigned To: Olli Pettay [:smaug]
: Andrew Overholt [:overholt]
Depends on: 749913
  Show dependency treegraph
Reported: 2012-03-28 11:15 PDT by Olli Pettay [:smaug]
Modified: 2012-04-28 00:33 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

patch (98.88 KB, patch)
2012-03-28 11:15 PDT, Olli Pettay [:smaug]
jst: review+
Details | Diff | Splinter Review

Description User image Olli Pettay [:smaug] 2012-03-28 11:15:30 PDT
Created attachment 610212 [details] [diff] [review]

We have plenty of code which QIs nsINode to nsIDOMNode.
We could do something faster. Unfortunately virtual method is needed, but at least
we can get rid of Addref/Release.
Comment 1 User image Olli Pettay [:smaug] 2012-04-25 12:20:47 PDT

Note You need to log in before you can comment on or make changes to this bug.