Bug 162599 - [Fetch API] Use Ref<const T> in FetchBody::m_data variant
Summary: [Fetch API] Use Ref<const T> in FetchBody::m_data variant
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-27 01:56 PDT by youenn fablet
Modified: 2016-09-27 09:50 PDT (History)
7 users (show)

See Also:


Attachments
Patch (11.75 KB, patch)
2016-09-27 02:06 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 2016-09-27 01:56:49 PDT
This is a follow-up of bug 162559.
Comment 1 youenn fablet 2016-09-27 02:06:24 PDT
Created attachment 289926 [details]
Patch
Comment 2 Alex Christensen 2016-09-27 08:46:34 PDT
Comment on attachment 289926 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=289926&action=review

> Source/WebCore/Modules/fetch/FetchBody.cpp:345
> -        clone.m_data = const_cast<Blob&>(blobBody());
> +        clone.m_data = blobBody();

:)
Comment 3 WebKit Commit Bot 2016-09-27 09:50:10 PDT
Comment on attachment 289926 [details]
Patch

Clearing flags on attachment: 289926

Committed r206438: <http://trac.webkit.org/changeset/206438>
Comment 4 WebKit Commit Bot 2016-09-27 09:50:14 PDT
All reviewed patches have been landed.  Closing bug.