[Webkit-unassigned] [Bug 70015] Constructor should not be called if the object is being constructed inside WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 13 11:08:44 PDT 2011


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


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #110823|review?                     |review+
               Flag|                            |




--- Comment #2 from Adam Barth <abarth at webkit.org>  2011-10-13 11:08:44 PST ---
(From update of attachment 110823)
View in context: https://bugs.webkit.org/attachment.cgi?id=110823&action=review

> Source/WebCore/bindings/scripts/CodeGeneratorV8.pm:1536
> +    if (AllowAllocation::current())
> +        return args.Holder();

Do we need this check in any of our custom constructors as well?  I don't fully understand in which cases AllowAllocation::current() return true.

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