[Webkit-unassigned] [Bug 63502] [EFL] Move GtkWidgetBackingStoreCairo to the cairo directory and modify to use in the EFL.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 25 19:18:16 PDT 2011


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





--- Comment #38 from EunMi Lee <eunmi15.lee at samsung.com>  2011-09-25 19:18:15 PST ---
(In reply to comment #36)
> (From update of attachment 108437 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=108437&action=review
> 
> Much nicer, but please fix the minor stuff below. :)
> 

Thanks for your comments again :)

> > Source/WebCore/platform/cairo/WidgetBackingStoreCairo.cpp:23
> > +#if (PLATFORM(GTK) && !defined(XP_UNIX)) || PLATFORM(EFL)
> 
> You shouldn't need this line. If a platform doesn't want to compile this file, they just won't have it on their source list.
> 

Ok, so I removed that line and modified GNUmakefile.list.am to add GtkWidgetBackingStoreX11.cpp for TARGET_X11 and WidgetBackingStoreCairo.cpp for TARGET_WIN32.

> > Source/WebCore/platform/cairo/WidgetBackingStoreCairo.cpp:45
> > +#elif PLATFORM(EFL)
> > +    return adoptRef(cairo_image_surface_create(CAIRO_FORMAT_ARGB32, size.width(), size.height()));
> > +#else
> > +    return nullptr;
> > +#endif
> 
> It would be better to simply have
> 
> #if PLATFORM(GTK)
> ...
> #else
>     return adoptRef(cairo_image_surface_create(CAIRO_FORMAT_ARGB32, size.width(), size.height()));
> #endif

Done. I modified as your comment.

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