Bug 144740 - SharedBuffer::m_size should be initialized to 0 when defining it
Summary: SharedBuffer::m_size should be initialized to 0 when defining it
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-07 05:53 PDT by youenn fablet
Modified: 2015-05-08 01:05 PDT (History)
2 users (show)

See Also:


Attachments
Patch (3.97 KB, patch)
2015-05-07 06:15 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2015-05-07 05:53:28 PDT
SharedBuffer::m_size is often set to 0 in each constructor.
It would be more convenient to set it to zero by default when defining it.
Comment 1 youenn fablet 2015-05-07 06:15:26 PDT
Created attachment 252590 [details]
Patch
Comment 2 WebKit Commit Bot 2015-05-08 01:05:31 PDT
Comment on attachment 252590 [details]
Patch

Clearing flags on attachment: 252590

Committed r183987: <http://trac.webkit.org/changeset/183987>
Comment 3 WebKit Commit Bot 2015-05-08 01:05:35 PDT
All reviewed patches have been landed.  Closing bug.