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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 11 00:32:11 PDT 2012


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





--- Comment #25 from Kenneth Rohde Christiansen <kenneth at webkit.org>  2012-09-11 00:32:33 PST ---
(From update of attachment 163110)
View in context: https://bugs.webkit.org/attachment.cgi?id=163110&action=review

> Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_eina_shared_string.cpp:87
> +    WKEinaSharedString string(WKEinaSharedString::adopt(eina_stringshare_add(testString)));
> +    checkString(string, testString);
> +
> +    string = WKEinaSharedString::adopt(eina_stringshare_add(anotherTestString));
> +    checkString(string, anotherTestString);
> +
> +    string = string;
> +    checkString(string, anotherTestString);

Why not test that the first one got free'd?

-- 
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