[Webkit-unassigned] [Bug 27337] Add a getter in MessagePortChannel for the PlatformMessagePortChannel
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 16 13:08:32 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27337
David Levin <levin at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #32886|review? |review+
Flag| |
--- Comment #8 from David Levin <levin at chromium.org> 2009-07-16 13:08:31 PDT ---
(From update of attachment 32886)
I missed your earlier comment too.
> ah, I still get confused sometimes with all the RefPtr objects. Thanks, I only
> need a pointer. I wasn't sure if it's ok to pass around raw pointers of ref
> counted objects.
Actually, I wasn't aware of this guideline until recently, but it is stated
well here: http://webkit.org/coding/RefPtr.html
"If a function’s result is an object, but ownership is not being transferred,
the result should be a raw pointer. This includes most getter functions."
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list