Index: ui/gfx/path_x11.h |
diff --git a/ui/gfx/path_x11.h b/ui/gfx/path_x11.h |
index c6e750742ecaee8f7bd119e3f5d032912c9e49b7..6e3a156829373ff83cf5c26dfeda9737e444a840 100644 |
--- a/ui/gfx/path_x11.h |
+++ b/ui/gfx/path_x11.h |
@@ -5,14 +5,13 @@ |
#ifndef UI_GFX_PATH_X11_H_ |
#define UI_GFX_PATH_X11_H_ |
-#include <X11/Xlib.h> |
-#include <X11/Xregion.h> |
- |
#include "ui/gfx/gfx_export.h" |
class SkPath; |
class SkRegion; |
+typedef struct _XRegion REGION; |
+ |
namespace gfx { |
// Creates a new REGION given |region|. The caller is responsible for destroying |