[Webkit-unassigned] [Bug 89864] [EFL][WK2] Add ewk_view_ui_client

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 15 01:03:58 PDT 2012


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





--- Comment #21 from Christophe Dumez <christophe.dumez at intel.com>  2012-07-15 01:03:57 PST ---
(From update of attachment 151661)
View in context: https://bugs.webkit.org/attachment.cgi?id=151661&action=review

> Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:818
> +    evas_object_smart_callback_call(ewkView, "close,window", 0);

No EINA_SAFETY check?

> Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:823
> +    Evas_Object* newEwkView = 0;

Ditto.

> Source/WebKit2/UIProcess/API/efl/ewk_view_ui_client.cpp:33
> +    Evas_Object* ewkView = static_cast<Evas_Object*>(const_cast<void*>(clientInfo));

How about defining a "static inline Evas_Object* toEwkView(const void* clientInfo);" function for the casting and use it in all callbacks?

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