More build bustage from Bug 596451 part D. Explicitly initialize the const structures for GCC.

This commit is contained in:
Benjamin Smedberg 2010-10-25 16:25:01 -04:00
parent d80dc9a81e
commit 980b674f06
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
namespace mozilla {
namespace gfx {
static const cairo_user_data_key_t SHAREDDIB_KEY;
static const cairo_user_data_key_t SHAREDDIB_KEY = {0};
static const long kBytesPerPixel = 4;

View File

@ -44,7 +44,7 @@
using mozilla::ipc::SharedMemory;
static const cairo_user_data_key_t SHM_KEY;
static const cairo_user_data_key_t SHM_KEY = {0};
typedef struct _SharedImageInfo
{