[Webkit-unassigned] [Bug 100598] [EFL][AC] Fix bugs preventing us from running layout tests with AC turned on
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 28 23:09:25 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=100598
Kenneth Rohde Christiansen <kenneth at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #171148|review? |review+
Flag| |
--- Comment #2 from Kenneth Rohde Christiansen <kenneth at webkit.org> 2012-10-28 23:10:39 PST ---
(From update of attachment 171148)
View in context: https://bugs.webkit.org/attachment.cgi?id=171148&action=review
> Tools/EWebLauncher/main.c:813
> app->ee = ecore_evas_new(userArgs->engine, 0, 0, userArgs->geometry.w, userArgs->geometry.h, NULL);
shouldn't that be indented now?
> Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp:39
> static Ecore_Evas* initEcoreEvas()
> {
> +#ifdef WTF_USE_ACCELERATED_COMPOSITING && defined HAVE_ECORE_X
> + const char* engine = "opengl_x11";
> + Ecore_Evas* ecoreEvas = ecore_evas_new(engine, 0, 0, 800, 600, 0);
> +#else
> Ecore_Evas* ecoreEvas = ecore_evas_new(0, 0, 0, 800, 600, 0);
> +#endif
> if (!ecoreEvas)
I would prefer
const char* engine = 0;
#ifdef WTF_USE_ACCELERATED_COMPOSITING && defined HAVE_ECORE_X
engine = "opengl_x11";
#endif
Ecore_Evas* ecoreEvas = ecore_evas_new(engine, 0, 0, 800, 600, 0);
> Tools/DumpRenderTree/efl/DumpRenderTree.cpp:427
> +#ifdef WTF_USE_ACCELERATED_COMPOSITING && defined HAVE_ECORE_X
> + const char* engine = "opelgl_x11";
> + Ecore_Evas* ecoreEvas = ecore_evas_new(engine, 0, 0, 800, 600, 0);
> +#else
> Ecore_Evas* ecoreEvas = ecore_evas_new(0, 0, 0, 800, 600, 0);
> +#endif
so much copied code, can't we concentrate it?
--
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