Last Comment Bug 740063 - Add nsINode::AsDOMNode();
: Add nsINode::AsDOMNode();
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM (show other bugs)
: 12 Branch
: x86_64 Linux
: -- normal (vote)
: ---
Assigned To: Olli Pettay [:smaug]
:
: Andrew Overholt [:overholt]
Mentors:
Depends on: 749913
Blocks:
  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:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


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

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

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 Olli Pettay [:smaug] 2012-04-25 12:20:47 PDT
https://hg.mozilla.org/mozilla-central/rev/d470016df45d

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