<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Extend protector naming code style guideline to cover operator= assignment"
href="https://bugs.webkit.org/show_bug.cgi?id=157693#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Extend protector naming code style guideline to cover operator= assignment"
href="https://bugs.webkit.org/show_bug.cgi?id=157693">bug 157693</a>
from <span class="vcard"><a class="email" href="mailto:beidson@apple.com" title="Brady Eidson <beidson@apple.com>"> <span class="fn">Brady Eidson</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=157693#c0">comment #0</a>)
<span class="quote">>
> But we need to cover operator= assignment, as well.
> RefPtr<Node> protector = node;
> RefPtr<Node> protectedThis = this;</span >
There's two ways to cover these cases:
1 - Extend the rule to enforce proper naming in these cases
2 - Extend the rule to disallow these cases and to prefer protector(node)-style initialization, instead.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>