[webkit-dev] Tightening up smart pointer usage rules

Adam Barth abarth at webkit.org
Mon Jun 28 14:12:14 PDT 2010


On Mon, Jun 28, 2010 at 1:43 PM, Kenneth Christiansen
<kenneth.christiansen at openbossa.org> wrote:
>>    6) Add validator rules that make invocation of the "new" operator legal only inside adoptRef and adoptPtr function calls.
>
> That is probably  going to be a problem for Qt code on the WebKit API
> side. If we disable this rule for WebKitTools and WebKit I think we
> should be OK

We already have similar exceptions in the validator for code in the
embedder's style.

Adam


More information about the webkit-dev mailing list