Index: ui/gfx/surface/accelerated_surface_linux.cc |
diff --git a/ui/gfx/surface/accelerated_surface_linux.cc b/ui/gfx/surface/accelerated_surface_linux.cc |
index a74ac5cc13eb2857abd369ead85c94788649920a..da2dde45707f849cb3098c29d920b1fd3ac671c2 100644 |
--- a/ui/gfx/surface/accelerated_surface_linux.cc |
+++ b/ui/gfx/surface/accelerated_surface_linux.cc |
@@ -23,7 +23,8 @@ AcceleratedSurface::AcceleratedSurface(const gfx::Size& size) |
dpy, window, size_.width(), size_.height(), gwa.depth); |
image_ = eglCreateImageKHR( |
- edpy, EGL_NO_CONTEXT, EGL_NATIVE_PIXMAP_KHR, (void*) pixmap_, NULL); |
+ edpy, EGL_NO_CONTEXT, EGL_NATIVE_PIXMAP_KHR, |
+ reinterpret_cast<void*>(pixmap_), NULL); |
glGenTextures(1, &texture_); |