author | Benjamin Smedberg <benjamin@smedbergs.us> |
Mon, 25 Oct 2010 16:25:01 -0400 | |
changeset 57211 | 425bd6be7289f7439c3968fb6afbd407aa80c0fe |
parent 57210 | 866e9298ee159c57b2a434b199b39d5a811cc061 |
child 57212 | 37188e297b073acf5d8319dddf5e8c1aa15722f3 |
push id | 16846 |
push user | bsmedberg@mozilla.com |
push date | Wed, 10 Nov 2010 15:29:47 +0000 |
treeherder | mozilla-central@bdbef533364f [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 596451 |
milestone | 2.0b8pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
gfx/ipc/SharedDIBSurface.cpp | file | annotate | diff | comparison | revisions | |
gfx/thebes/gfxSharedImageSurface.cpp | file | annotate | diff | comparison | revisions |
--- a/gfx/ipc/SharedDIBSurface.cpp +++ b/gfx/ipc/SharedDIBSurface.cpp @@ -37,17 +37,17 @@ #include "SharedDIBSurface.h" #include "cairo.h" 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; bool SharedDIBSurface::Create(HDC adc, PRUint32 aWidth, PRUint32 aHeight) { nsresult rv = mSharedDIB.Create(adc, aWidth, aHeight); if (NS_FAILED(rv) || !mSharedDIB.IsValid())
--- a/gfx/thebes/gfxSharedImageSurface.cpp +++ b/gfx/thebes/gfxSharedImageSurface.cpp @@ -39,17 +39,17 @@ #include "base/basictypes.h" #include "gfxSharedImageSurface.h" #include "cairo.h" #define MOZ_ALIGN_WORD(x) (((x) + 3) & ~3) 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 { PRInt32 width; PRInt32 height; PRInt32 format; } SharedImageInfo;