summaryrefslogtreecommitdiffstats
path: root/webkit/api/public
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-14 21:15:01 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-14 21:15:01 +0000
commit5a562ec1e1b621aa6e696b795f83a890f2684b84 (patch)
treebd2b133db8bd16f05bd8dfb273f8c0ff721b86ce /webkit/api/public
parent48676d6ed4d082f8ce16442df6103786e9c51fb9 (diff)
downloadchromium_src-5a562ec1e1b621aa6e696b795f83a890f2684b84.zip
chromium_src-5a562ec1e1b621aa6e696b795f83a890f2684b84.tar.gz
chromium_src-5a562ec1e1b621aa6e696b795f83a890f2684b84.tar.bz2
Linux: filter out unreadable fonts
Fontconfig will return fonts which are unreadable to the current process if the system cache contains them. BUG=16715 http://codereview.chromium.org/149628 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20663 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api/public')
-rw-r--r--webkit/api/public/gtk/WebFontInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/api/public/gtk/WebFontInfo.h b/webkit/api/public/gtk/WebFontInfo.h
index d77ce68..b5543c2 100644
--- a/webkit/api/public/gtk/WebFontInfo.h
+++ b/webkit/api/public/gtk/WebFontInfo.h
@@ -33,6 +33,9 @@
#include "../WebString.h"
+#include <string.h>
+#include <unistd.h>
+
namespace WebKit {
class WebFontInfo {