Last Comment Bug 698261 - Remove the aElementType argument of NS_NewElement
: Remove the aElementType argument of NS_NewElement
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla11
Assigned To: :Ms2ger
Depends on:
Blocks: 697210
  Show dependency treegraph
Reported: 2011-10-30 05:40 PDT by :Ms2ger
Modified: 2011-11-16 10:24 PST (History)
1 user (show)
Ms2ger: in‑testsuite-
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Patch v1 (13.45 KB, patch)
2011-10-30 06:01 PDT, :Ms2ger
bzbarsky: review+
Details | Diff | Splinter Review

Description :Ms2ger 2011-10-30 05:40:19 PDT

Comment 1 :Ms2ger 2011-10-30 06:01:39 PDT
Created attachment 570541 [details] [diff] [review]
Patch v1
Comment 2 Boris Zbarsky [:bz] 2011-10-30 11:30:28 PDT
Comment on attachment 570541 [details] [diff] [review]
Patch v1

Why do you need the on-stack nodeInfo?  You can just do:

  PRInt32 ns = aNodeInfo.get()->NamespaceID();


r=me with that.
Comment 3 :Ms2ger 2011-10-30 12:53:14 PDT
I guess I can... It's just that playing around with already_AddRefed pointers scares me a little.

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