Bug 165847
Summary: | [EFL] Fix debug build break since r207192 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Joonghun Park <jh718.park> |
Component: | WebKit EFL | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | lucas.de.marchi |
Priority: | P2 | ||
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Joonghun Park
Fix debug build break like below.
../../Source/WTF/wtf/Assertions.h:283:9: error: the address of ‘WebCore::JSFetchHeaders::s_info’ will always evaluate as ‘true’ [-Werror=address]
if (!(assertion)) { \
^
../../Source/WebCore/bindings/js/JSDOMBinding.h:357:13: note: in expansion of macro ‘ASSERT’
ASSERT(JSClass::info());
In JSDOMBinding.h, JSClass::info() returns each js class's "static const JSC::ClassInfo s_info"'s address.
It's static variable's address, so always non-null.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joonghun Park
Committed r209800: <http://trac.webkit.org/changeset/209800>