[Webkit-unassigned] [Bug 74921] [EFL] Add new commands for Ewk_Editor_Command.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 26 18:30:05 PDT 2012


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





--- Comment #19 from Raphael Kubo da Costa (rakuco) <rakuco at webkit.org>  2012-04-26 18:30:04 PST ---
(From update of attachment 139008)
View in context: https://bugs.webkit.org/attachment.cgi?id=139008&action=review

> Source/WebKit/efl/ewk/ewk_view.cpp:321
> +    Eina_Hash* editorCommandHash;

I didn't understand why this was added to the private data instead of being a static variable inside _ewk_view_editor_command_string_get -- every time a new view is created a new hash will be created with the exact same data.

> Source/WebKit/efl/ewk/ewk_view.cpp:1219
> +            eina_hash_add(priv->editorCommandHash, &editorCommands[i].ewkEditorCommand,
> +                    editorCommands[i].editorCommandString);

We usually don't wrap at 80 characters, so these lines can be merged.

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