summaryrefslogtreecommitdiffstats
path: root/chrome/common/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/gfx')
-rw-r--r--chrome/common/gfx/chrome_font.h3
-rw-r--r--chrome/common/gfx/text_elider.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/gfx/chrome_font.h b/chrome/common/gfx/chrome_font.h
index 2cfd28b..ffbbdd3 100644
--- a/chrome/common/gfx/chrome_font.h
+++ b/chrome/common/gfx/chrome_font.h
@@ -11,6 +11,9 @@
#if defined(OS_WIN)
typedef struct HFONT__* HFONT;
+#else
+// TODO(port): Make it more real.
+typedef void* HFONT;
#endif
#include "base/basictypes.h"
diff --git a/chrome/common/gfx/text_elider.h b/chrome/common/gfx/text_elider.h
index 26872db..e13dab6 100644
--- a/chrome/common/gfx/text_elider.h
+++ b/chrome/common/gfx/text_elider.h
@@ -7,7 +7,6 @@
#include <unicode/coll.h>
#include <unicode/uchar.h>
-#include <windows.h>
#include "base/basictypes.h"
#include "chrome/common/gfx/chrome_font.h"