| Index: app/gfx/gl/gl_context_linux.cc
|
| diff --git a/app/gfx/gl/gl_context_linux.cc b/app/gfx/gl/gl_context_linux.cc
|
| index 8701bc362c5e8212697290f744a8a4d4a55b6375..9e0f4d2b1a3451f26e6565562f7a3bd7629d8098 100644
|
| --- a/app/gfx/gl/gl_context_linux.cc
|
| +++ b/app/gfx/gl/gl_context_linux.cc
|
| @@ -318,7 +318,7 @@ void OSMesaViewGLContext::Destroy() {
|
|
|
| if (pixmap_) {
|
| XFreePixmap(display, pixmap_);
|
| - pixmap_ = NULL;
|
| + pixmap_ = 0;
|
| }
|
|
|
| if (window_graphics_context_) {
|
| @@ -406,7 +406,7 @@ bool OSMesaViewGLContext::UpdateSize() {
|
| }
|
| if (pixmap_) {
|
| XFreePixmap(display, pixmap_);
|
| - pixmap_ = NULL;
|
| + pixmap_ = 0;
|
| }
|
|
|
| // Recreate a pixmap to hold the frame.
|
|
|