Index: content/browser/renderer_host/gtk_window_utils.cc |
diff --git a/content/browser/renderer_host/gtk_window_utils.cc b/content/browser/renderer_host/gtk_window_utils.cc |
index 28f8460e64df772d9c92123537dff775a49a53f5..f05cdca3b66c09434c4509a82603dce46a6923d5 100644 |
--- a/content/browser/renderer_host/gtk_window_utils.cc |
+++ b/content/browser/renderer_host/gtk_window_utils.cc |
@@ -10,10 +10,11 @@ |
#include <vector> |
+#include "third_party/WebKit/public/web/WebScreenInfo.h" |
#include "ui/base/x/x11_util.h" |
#include "ui/gfx/gtk_compat.h" |
#include "ui/gfx/rect.h" |
-#include "third_party/WebKit/public/web/WebScreenInfo.h" |
+#include "ui/gfx/x/x11_types.h" |
namespace content { |
@@ -44,7 +45,7 @@ gfx::Rect GetWorkArea(Window window) { |
property[start_index + 2], property[start_index + 3]); |
} |
-WebKit::WebScreenInfo GetScreenInfo(Display* display, int screenNumber) { |
+WebKit::WebScreenInfo GetScreenInfo(XDisplay* display, int screenNumber) { |
// XDisplayWidth() and XDisplayHeight() return cached values. To ensure that |
// we return the correct dimensions after the screen is resized, query the |
// root window's geometry each time. |