| Index: trunk/src/ui/gl/gl_image_glx.cc
|
| ===================================================================
|
| --- trunk/src/ui/gl/gl_image_glx.cc (revision 263732)
|
| +++ trunk/src/ui/gl/gl_image_glx.cc (working copy)
|
| @@ -12,7 +12,6 @@
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop/message_loop.h"
|
| -#include "ui/gfx/x/x11_types.h"
|
| #include "ui/gl/gl_bindings.h"
|
| #include "ui/gl/gl_surface_glx.h"
|
|
|
| @@ -44,7 +43,7 @@
|
| } // namespace anonymous
|
|
|
| GLImageGLX::GLImageGLX(gfx::PluginWindowHandle window)
|
| - : display_(gfx::GetXDisplay()),
|
| + : display_(base::MessagePumpForUI::GetDefaultXDisplay()),
|
| window_(window),
|
| pixmap_(0),
|
| glx_pixmap_(0) {}
|
|
|