| Index: content/browser/compositor/software_output_device_x11.cc
|
| diff --git a/content/browser/compositor/software_output_device_x11.cc b/content/browser/compositor/software_output_device_x11.cc
|
| index b6116396a68a29381746650c8955aa5430e2a1d3..62695a3dae9fda2d81e194aef4a97a9ed39cc193 100644
|
| --- a/content/browser/compositor/software_output_device_x11.cc
|
| +++ b/content/browser/compositor/software_output_device_x11.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "content/browser/compositor/software_output_device_x11.h"
|
|
|
| +#include <stddef.h>
|
| +#include <stdint.h>
|
| #include <X11/Xlib.h>
|
| #include <X11/Xutil.h>
|
|
|
| @@ -116,20 +118,11 @@ void SoftwareOutputDeviceX11::EndPaint() {
|
| SkImageInfo info;
|
| size_t rowBytes;
|
| const void* addr = surface_->peekPixels(&info, &rowBytes);
|
| - gfx::PutARGBImage(display_,
|
| - attributes_.visual,
|
| - attributes_.depth,
|
| - compositor_->widget(),
|
| - gc_,
|
| - static_cast<const uint8*>(addr),
|
| - viewport_pixel_size_.width(),
|
| - viewport_pixel_size_.height(),
|
| - rect.x(),
|
| - rect.y(),
|
| - rect.x(),
|
| - rect.y(),
|
| - rect.width(),
|
| - rect.height());
|
| + gfx::PutARGBImage(
|
| + display_, attributes_.visual, attributes_.depth, compositor_->widget(),
|
| + gc_, static_cast<const uint8_t*>(addr), viewport_pixel_size_.width(),
|
| + viewport_pixel_size_.height(), rect.x(), rect.y(), rect.x(), rect.y(),
|
| + rect.width(), rect.height());
|
| }
|
|
|
| } // namespace content
|
|
|