[Webkit-unassigned] [Bug 194581] New: Remove unnecessary null check in bindings.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 12 22:02:55 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=194581
Bug ID: 194581
Summary: Remove unnecessary null check in bindings.
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
See https://bugs.webkit.org/show_bug.cgi?id=194530#c10:
It is always save to call visitor.containsOpaqueRoot(root) with a null root pointer. It will just return false. Since we don't expect the root pointer to be null in the common case, having a null check here is also not be optimal. We'll remove this unneeded null check.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190213/5789ef7a/attachment-0001.html>
More information about the webkit-unassigned
mailing list