[Webkit-unassigned] [Bug 89437] [GTK] Read fonts path in DRT from alternative fonts dir when main dir doesn't exist
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 2 07:37:49 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89437
Martin Robinson <mrobinson at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #150391|review? |review-
Flag| |
--- Comment #6 from Martin Robinson <mrobinson at webkit.org> 2012-07-02 07:37:48 PST ---
(From update of attachment 150391)
View in context: https://bugs.webkit.org/attachment.cgi?id=150391&action=review
This patch looks great, except that it should probably also deal with WebKitTestRunner in Tools/WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp.
> Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:176
> + const char* webkitOutputDir = g_getenv("WEBKITOUTPUTDIR");
Perhaps you could do:
GOwnPtr<char> defaultOutputDir = g_build_filename(getTopLevelPath().data(), "WebKitBuild");
const char* outputDirFromEnvironment = g_getenv("WEBKITOUTPUTDIR");
const char* webkitOutputDir = outputDirFromEnvironment ? outputDirFromEnvironment : topLevelPath.get();
and avoid the duplication below?
--
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