summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2014-09-12 17:22:21 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-13 00:44:27 +0000
commitedae4643b8120a56ce3f592495f5d712e9b24539 (patch)
tree8b7f5620f544d56a28e920e89432ac5589bf7f88
parenta2decf1c031fa2e085b5e6a86434a7fdd8ee6caf (diff)
downloadchromium_src-edae4643b8120a56ce3f592495f5d712e9b24539.zip
chromium_src-edae4643b8120a56ce3f592495f5d712e9b24539.tar.gz
chromium_src-edae4643b8120a56ce3f592495f5d712e9b24539.tar.bz2
Cleanup: Remove a few unneeded #includes in Linux font files.
Probably left over from code being moved around. Review URL: https://codereview.chromium.org/569793002 Cr-Commit-Position: refs/heads/master@{#294702}
-rw-r--r--content/browser/renderer_host/font_utils_linux.cc7
-rw-r--r--ui/gfx/platform_font_pango.cc1
2 files changed, 3 insertions, 5 deletions
diff --git a/content/browser/renderer_host/font_utils_linux.cc b/content/browser/renderer_host/font_utils_linux.cc
index eea0551..2ee84e1 100644
--- a/content/browser/renderer_host/font_utils_linux.cc
+++ b/content/browser/renderer_host/font_utils_linux.cc
@@ -4,13 +4,12 @@
#include <fcntl.h>
#include <fontconfig/fontconfig.h>
-#include <sys/poll.h>
-#include <sys/socket.h>
#include <sys/stat.h>
+#include <sys/types.h>
+
+#include <string>
#include "base/posix/eintr_wrapper.h"
-#include "content/common/sandbox_linux/sandbox_linux.h"
-#include "content/common/set_process_title.h"
#include "ppapi/c/trusted/ppb_browser_font_trusted.h"
#include "third_party/npapi/bindings/npapi_extensions.h"
diff --git a/ui/gfx/platform_font_pango.cc b/ui/gfx/platform_font_pango.cc
index c408740..1cac87a 100644
--- a/ui/gfx/platform_font_pango.cc
+++ b/ui/gfx/platform_font_pango.cc
@@ -4,7 +4,6 @@
#include "ui/gfx/platform_font_pango.h"
-#include <fontconfig/fontconfig.h>
#include <pango/pango.h>
#include <algorithm>