<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:mcatanzaro@igalia.com" title="Michael Catanzaro <mcatanzaro@igalia.com>"> <span class="fn">Michael Catanzaro</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Avoid triggering clang's -Wundefined-bool-conversion"
href="https://bugs.webkit.org/show_bug.cgi?id=152408">bug 152408</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>mcatanzaro@igalia.com
</td>
</tr>
<tr>
<td style="text-align:right;">Summary</td>
<td>-Wundefined-bool-conversion on TreeScope.cpp:287
</td>
<td>Avoid triggering clang's -Wundefined-bool-conversion
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>HTML DOM
</td>
<td>WebCore Misc.
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Avoid triggering clang's -Wundefined-bool-conversion"
href="https://bugs.webkit.org/show_bug.cgi?id=152408#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Avoid triggering clang's -Wundefined-bool-conversion"
href="https://bugs.webkit.org/show_bug.cgi?id=152408">bug 152408</a>
from <span class="vcard"><a class="email" href="mailto:mcatanzaro@igalia.com" title="Michael Catanzaro <mcatanzaro@igalia.com>"> <span class="fn">Michael Catanzaro</span></a>
</span></b>
<pre>Also:
[2754/5753] Building CXX object Source...MakeFiles/WebCore.dir/page/Frame.cpp.o
../../Source/WebCore/page/Frame.cpp:873:8: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
(!(this) ? (WTFReportAssertionFailure("../../Source/WebCore/page/Frame.cpp", 873, __PRETTY_FUNCTION__, "this"), WTFCrash()) : (void)0);
~ ^~~~
1 warning generated.</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>