Bug 165847 - [EFL] Fix debug build break since r207192
Summary: [EFL] Fix debug build break since r207192
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-14 07:30 PST by Joonghun Park
Modified: 2016-12-14 07:32 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joonghun Park 2016-12-14 07:30:12 PST
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.
Comment 1 Joonghun Park 2016-12-14 07:32:22 PST
Committed r209800: <http://trac.webkit.org/changeset/209800>