Index: content/browser/renderer_host/image_transport_client_linux.cc |
diff --git a/content/browser/renderer_host/image_transport_client_linux.cc b/content/browser/renderer_host/image_transport_client_linux.cc |
index 1153c6a5c48910cedbe52f6b75549575ceaeb88d..779e1eb752b0dd1bfa5546b74e25119364abc540 100644 |
--- a/content/browser/renderer_host/image_transport_client_linux.cc |
+++ b/content/browser/renderer_host/image_transport_client_linux.cc |
@@ -83,8 +83,6 @@ class ImageTransportClientEGL : public ImageTransportClient { |
EGLImageKHR image_; |
}; |
-#if !defined(USE_WAYLAND) |
- |
class ImageTransportClientGLX : public ImageTransportClient { |
public: |
ImageTransportClientGLX(ImageTransportFactory* factory, const gfx::Size& size) |
@@ -289,20 +287,16 @@ class ImageTransportClientOSMesa : public ImageTransportClient { |
}; |
uint32 ImageTransportClientOSMesa::next_handle_ = 0; |
-#endif // !USE_WAYLAND |
- |
} // anonymous namespace |
ImageTransportClient* ImageTransportClient::Create( |
ImageTransportFactory* factory, |
const gfx::Size& size) { |
switch (gfx::GetGLImplementation()) { |
-#if !defined(USE_WAYLAND) |
case gfx::kGLImplementationOSMesaGL: |
return new ImageTransportClientOSMesa(factory, size); |
case gfx::kGLImplementationDesktopGL: |
return new ImageTransportClientGLX(factory, size); |
-#endif |
case gfx::kGLImplementationEGLGLES2: |
return new ImageTransportClientEGL(factory, size); |
default: |