зеркало из https://github.com/mozilla/pjs.git
Non-Windows build bustage fix from bug 596451 part D - base::SharedMemoryHandle is not available to IPDL on non-Windows, so use typedefs.
This commit is contained in:
Родитель
09ea6bd19e
Коммит
9316140a2f
|
@ -55,7 +55,7 @@ using mozilla::plugins::NativeWindowHandle;
|
|||
using mozilla::gfxSurfaceType;
|
||||
using gfxIntSize;
|
||||
using mozilla::null_t;
|
||||
using base::SharedMemoryHandle;
|
||||
using mozilla::plugins::WindowsSharedMemoryHandle;
|
||||
|
||||
namespace mozilla {
|
||||
namespace plugins {
|
||||
|
@ -67,7 +67,7 @@ struct SurfaceDescriptorX11 {
|
|||
};
|
||||
|
||||
struct SurfaceDescriptorWin {
|
||||
SharedMemoryHandle handle;
|
||||
WindowsSharedMemoryHandle handle;
|
||||
gfxIntSize size;
|
||||
};
|
||||
|
||||
|
|
|
@ -130,6 +130,12 @@ typedef intptr_t NativeWindowHandle; // never actually used, will always be 0
|
|||
#error Need NativeWindowHandle for this platform
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
typedef base::SharedMemoryHandle WindowsSharedMemoryHandle;
|
||||
#else
|
||||
typedef mozilla::null_t WindowsSharedMemoryHandle;
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
typedef CrashReporter::ThreadId NativeThreadId;
|
||||
#else
|
||||
|
|
Загрузка…
Ссылка в новой задаче