[Webkit-unassigned] [Bug 42092] [Chromium] Fix adoptRef usage violation in WebAccessibilityCacheImpl.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 12 12:58:04 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42092


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61246|review?, commit-queue?      |review-, commit-queue-
               Flag|                            |




--- Comment #2 from Darin Adler <darin at apple.com>  2010-07-12 12:58:04 PST ---
(From update of attachment 61246)
> +    // We pass a reference to this object before it can be adopted.
> +    relaxAdoptionRequirement();
>      m_object->setWrapper(this);

This is not the correct way to fix this problem. Instead the call to setWrapper should be moved into the create function.

-- 
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