RESOLVED FIXED 98483
[EFL] Use Evas function instead of memcpy
https://bugs.webkit.org/show_bug.cgi?id=98483
Summary [EFL] Use Evas function instead of memcpy
Jaehun Lim
Reported 2012-10-04 22:18:57 PDT
Evas supports evas_object_image_data_copy_set() to copy image data. Change memcpy() with evas_object_image_data_copy_set().
Attachments
Patch (3.03 KB, patch)
2012-10-04 22:21 PDT, Jaehun Lim
no flags
Patch (4.04 KB, patch)
2012-10-10 00:30 PDT, Jaehun Lim
no flags
Jaehun Lim
Comment 1 2012-10-04 22:21:06 PDT
Gyuyoung Kim
Comment 2 2012-10-09 23:17:57 PDT
Comment on attachment 167247 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=167247&action=review > Source/WebKit/efl/ChangeLog:10 > + Please mention to change variable name.
Ryuan Choi
Comment 3 2012-10-09 23:35:20 PDT
Comment on attachment 167247 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=167247&action=review > Source/WebKit/efl/ewk/ewk_util.cpp:39 > + int width, height, stride; Let's move this to 66,67,68 line. > Source/WebKit/efl/ewk/ewk_util.cpp:41 > + void* data; Ditto. > Source/WebKit/efl/ewk/ewk_util.cpp:94 > + ERR("could not get source data."); > + return 0; Don't you need to delete image?
Jaehun Lim
Comment 4 2012-10-10 00:30:35 PDT
Gyuyoung Kim
Comment 5 2012-10-10 00:31:53 PDT
Comment on attachment 167944 [details] Patch Looks fine.
Jaehun Lim
Comment 6 2012-10-10 00:35:19 PDT
(In reply to comment #3) > (From update of attachment 167247 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=167247&action=review > > > Source/WebKit/efl/ewk/ewk_util.cpp:39 > > + int width, height, stride; > > Let's move this to 66,67,68 line. Done > > > Source/WebKit/efl/ewk/ewk_util.cpp:41 > > + void* data; > > Ditto. Done > > > Source/WebKit/efl/ewk/ewk_util.cpp:94 > > + ERR("could not get source data."); > > + return 0; > > Don't you need to delete image? I moved these lines before "image" was created.
WebKit Review Bot
Comment 7 2012-10-10 02:20:53 PDT
Comment on attachment 167944 [details] Patch Clearing flags on attachment: 167944 Committed r130875: <http://trac.webkit.org/changeset/130875>
WebKit Review Bot
Comment 8 2012-10-10 02:20:58 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.