[Webkit-unassigned] [Bug 96201] [EFL][WK2] WKEinaSharedString needs a function to adopt eina stringshare.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 10 08:23:16 PDT 2012


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





--- Comment #21 from Kenneth Rohde Christiansen <kenneth at webkit.org>  2012-09-10 08:23:36 PST ---
(From update of attachment 163110)
View in context: https://bugs.webkit.org/attachment.cgi?id=163110&action=review

> Source/WebKit2/UIProcess/API/cpp/efl/WKEinaSharedString.cpp:114
> +{
> +    WKEinaSharedString sharedString;
> +    sharedString.m_string = static_cast<const char*>(string);
> +    return sharedString;
> +}

So that will copy and deallocate the local one. I suppose the copy constructor is effective :-)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list