Bug 36214

Summary: WebCore/bridge uses bzero, which is not available on Android without extra includes
Product: WebKit Reporter: Steve Block <steveblock>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Severity: Normal CC: android-webkit-unforking, steveblock
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Android   
OS: Android   
Description Flags
Patch jorlow: review+

Description Steve Block 2010-03-17 04:36:32 PDT
WebCore/bridge uses bzero. Android's stdlib.h will soon be modified to not include strings.h, in order to reduce pollution of the standard C namespace. Without strings.h being included from stdlib.h, use of bzero would require additional local includes on Android.

Rather than add includes, we should replace calls to bzero with memset, as this is what is used throughout WebCore common code.
Comment 1 Steve Block 2010-03-17 04:40:46 PDT
Created attachment 50893 [details]
Comment 2 Jeremy Orlow 2010-03-17 04:50:31 PDT
Comment on attachment 50893 [details]

Looks like a no-op and consistency is good.  r=me
Comment 3 Steve Block 2010-03-17 05:12:22 PDT
Committed r56105: <http://trac.webkit.org/changeset/56105>