[Webkit-unassigned] [Bug 61915] [EFL][WK2] Add efl port's ewk_view files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 6 21:33:47 PDT 2011


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





--- Comment #13 from EunMi Lee <eunmi15.lee at samsung.com>  2011-06-06 21:33:46 PST ---
(In reply to comment #11)
> (From update of attachment 95847 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=95847&action=review
> 
> I know nothing about WebKit2. I'm reviewing only style and other possibly minor issues.
> 
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:286
> > +    if (!sd->priv) {
> > +        EINA_LOG_CRIT("could not allocate _Ewk_View_Private_Data");
> > +        free(sd);
> > +        return;
> 
> Dangling reference. evas_object_smart_data_set(o, 0);
> 
I've added evas_object_smart_data_set(o, 0) before free(sd)

> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:320
> > +    EWK_VIEW_SD_GET(o, sd);
> 
> EWK_VIEW_SD_GET_OR_RETURN(...)
> 
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:332
> > +    EWK_VIEW_SD_GET(o, sd);
> 
> Ditto. Please review all EWK_VIEW_SD_GET() usage on the following functions.

I've checked all EWK_VIEW_SD_GET and EWK_VIEW_PRIV_GET and replace some with *_GET_OR_RETURN

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