[Webkit-unassigned] [Bug 75848] [EFL] Replace malloc/calloc/free to new/delete
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 27 06:47:23 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=75848
Tomasz Morawski <t.morawski at samsung.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #124320|0 |1
is obsolete| |
Attachment #129031| |review?, commit-queue?
Flag| |
--- Comment #13 from Tomasz Morawski <t.morawski at samsung.com> 2012-02-27 06:47:22 PST ---
Created an attachment (id=129031)
--> (https://bugs.webkit.org/attachment.cgi?id=129031&action=review)
Next patch
Fixed Raphael's comments.
Additional change:
I had to left malloc for Ewk_Tile object due to compilation error when "new" was used:
Source/WebKit/efl/ewk/ewk_tiled_model.cpp:189:16: error: uninitialized const member in ‘Ewk_Tile {aka struct _Ewk_Tile}’ using ‘new’ without new-initializer [-fpermissive]
Source/WebKit/efl/ewk/ewk_tiled_backing_store.h:71:22: note: ‘_Ewk_Tile::width’ should be initialized
Anyway, initialization of const fileds in Ewk_Tile looks very ugly. Do you have any good idea to fix this without use of base C++ features like constructor or private section?
--
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