Bug 953246 - #include NullPtr.h in gdk-screenshot.cpp, NPOTDB, a=lsblakk
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 02 Jan 2014 10:39:18 -0500
changeset 174590 71ad7ff300104bdf5b468ef5077964e2c07e8b59
parent 174589 d2f01f6e38d810d2c9a608c3af8864812dc22d15
child 174591 e13c62b4fcab0c9f29890cb28e53f496abbdb16b
push id3224
push userlsblakk@mozilla.com
push dateTue, 04 Feb 2014 01:06:49 +0000
treeherdermozilla-beta@60c04d0987f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsblakk
bugs953246
milestone28.0a2
Bug 953246 - #include NullPtr.h in gdk-screenshot.cpp, NPOTDB, a=lsblakk
testing/tools/screenshot/gdk-screenshot.cpp
--- a/testing/tools/screenshot/gdk-screenshot.cpp
+++ b/testing/tools/screenshot/gdk-screenshot.cpp
@@ -37,16 +37,17 @@
 #include <gdk/gdk.h>
 #include <gdk/gdkx.h>
 #ifdef HAVE_LIBXSS
 #include <X11/extensions/scrnsaver.h>
 #endif
 
 #include <errno.h>
 #include <stdio.h>
+#include "mozilla/NullPtr.h"
 
 gboolean save_to_stdout(const gchar *buf, gsize count,
                         GError **error, gpointer data)
 {
   size_t written = fwrite(buf, 1, count, stdout);
   if (written != count) {
     g_set_error(error, G_FILE_ERROR, g_file_error_from_errno(errno),
                 "Write to stdout failed: %s", g_strerror(errno));