[Webkit-unassigned] [Bug 144380] [SOUP] Network Cache: Implement ShareableResource for Soup and enable it for GTK platform

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 19 08:45:22 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=144380

--- Comment #14 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #13)
> Comment on attachment 253310 [details]
> Try to fix IOS build
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=253310&action=review

Thanks!

> > Source/WebKit2/Platform/SharedMemory.h:88
> > +    static RefPtr<SharedMemory> wrapMap(void*, size_t, int fileDescriptor);
> 
> This should be #if'd for the platforms it is implemented only.

hmm, right, I guess we should do the same for the create() that is mac only.

> > Source/WebKit2/Shared/ShareableResource.cpp:85
> > +PassRefPtr<SharedBuffer> ShareableResource::sharedBuffer()
> > +{
> > +    ref(); // Balanced by deref when SharedBuffer is deallocated.
> 
> This is named like an accessor but does some non-accessor like ref tricks.
> Maybe wrapInSharedBuffer()?

I thought about createSharedBuffer but didn't like it either, wrapInSharedBuffer() sounds good to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150519/5c8b600e/attachment.html>


More information about the webkit-unassigned mailing list