Summary: | [EFL] Use eina_stringshare_add instead of strdup. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Gyuyoung Kim <gyuyoung.kim> | ||||||||||
Component: | WebKit EFL | Assignee: | Gyuyoung Kim <gyuyoung.kim> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | cdumez, haraken, lucas.de.marchi, rakuco, webkit.review.bot | ||||||||||
Priority: | P2 | ||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Bug Depends on: | 92349 | ||||||||||||
Bug Blocks: | |||||||||||||
Attachments: |
|
Description
Gyuyoung Kim
2012-07-24 00:43:47 PDT
Yes, I was think the same. Thanks for working on this. Created attachment 153994 [details]
Patch
Comment on attachment 153994 [details]
Patch
This patch is working in progress. I need to check this patch further.
Created attachment 154271 [details]
Patch
Comment on attachment 154271 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154271&action=review > Source/WebKit/efl/ChangeLog:8 > + Eina of EFL libraries supports a string functionality like strdup. So, EFL port needs "like eina stringsharing" > Source/WebKit/efl/ewk/ewk_cookies.h:46 > struct _Ewk_Cookie { We need to document that the strings are stringshared to that the clients know they don't need to use strdup(). Comment on attachment 154271 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154271&action=review >> Source/WebKit/efl/ChangeLog:8 >> + Eina of EFL libraries supports a string functionality like strdup. So, EFL port needs > > "like eina stringsharing" I don't understand this comment well. Do you mean "like eina stringsharing" instead of "like strdup" ? Created attachment 154299 [details]
Patch
Ok, patch is updated. (In reply to comment #6) > (From update of attachment 154271 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=154271&action=review > > >> Source/WebKit/efl/ChangeLog:8 > >> + Eina of EFL libraries supports a string functionality like strdup. So, EFL port needs > > > > "like eina stringsharing" > > I don't understand this comment well. Do you mean "like eina stringsharing" instead of "like strdup" ? I apparently misunderstood the sentence but I see you reformulated it in your last patch and now it is more easily understandable, thanks. LGTM now. Created attachment 154324 [details]
Patch
Comment on attachment 154324 [details]
Patch
Looks OK
Comment on attachment 154324 [details] Patch Clearing flags on attachment: 154324 Committed r123604: <http://trac.webkit.org/changeset/123604> All reviewed patches have been landed. Closing bug. This patch apparently causes webintents/web-intents-obj-constructor.html to crash on EFL port. (In reply to comment #14) > This patch apparently causes webintents/web-intents-obj-constructor.html to crash on EFL port. I'm sorry. I file a bug 92350 for this crash. |