[webkit-dev] Question about A Usage of RefPtr

2010-08-04 Thread Yuxiang Luo
Hi, I'm currently looking into a bug (42799), and find that class CSSComputedStyleDeclaration has a property 'RefPtrNode m_node', which means this class takes ownership of the Node to which the computedStyle object belongs back to. Does this mean that if the computedStyle object get released, the

Re: [webkit-dev] Question about A Usage of RefPtr

2010-08-04 Thread Yuxiang Luo
On Wed, Aug 4, 2010 at 4:05 PM, Yuxiang Luo lu...@google.com wrote: Hi, I'm currently looking into a bug (42799), and find that class CSSComputedStyleDeclaration has a property 'RefPtrNode m_node', which means this class takes ownership of the Node to which the computedStyle object belongs

Re: [webkit-dev] Question about A Usage of RefPtr

2010-08-04 Thread Yuxiang Luo
On Wed, Aug 4, 2010 at 4:05 PM, Yuxiang Luo lu...@google.com wrote: Hi, I'm currently looking into a bug (42799), and find that class CSSComputedStyleDeclaration has a property 'RefPtrNode m_node', which means this class takes ownership of the Node to which the computedStyle object belongs