зеркало из https://github.com/mozilla/pjs.git
Fix merge bustage
This commit is contained in:
Родитель
2918f2e692
Коммит
39a34bf40d
|
@ -124,6 +124,8 @@
|
|||
# include "mozilla/ipc/DocumentRendererShmemParent.h"
|
||||
// windows.h (included by chromium code) defines this, in its infinite wisdom
|
||||
# undef DrawText
|
||||
|
||||
using mozilla::ipc::SharedMemory;
|
||||
#endif
|
||||
|
||||
using namespace mozilla;
|
||||
|
@ -977,10 +979,12 @@ nsCanvasRenderingContext2D::CreateShmemSegments(PRInt32 width, PRInt32 height,
|
|||
gfxASurface::gfxImageFormat format)
|
||||
{
|
||||
if (!mozilla::dom::ContentProcessParent::GetSingleton()->
|
||||
AllocShmem(width * height * 4, &mFrontBuffer))
|
||||
AllocShmem(width * height * 4, SharedMemory::TYPE_BASIC,
|
||||
&mFrontBuffer))
|
||||
return false;
|
||||
if (!mozilla::dom::ContentProcessParent::GetSingleton()->
|
||||
AllocShmem(width * height * 4, &mBackBuffer))
|
||||
AllocShmem(width * height * 4, SharedMemory::TYPE_BASIC,
|
||||
&mBackBuffer))
|
||||
return false;
|
||||
|
||||
mBackSurface = new gfxImageSurface(mBackBuffer.get<unsigned char>(),
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#include "nsIDOMUIEvent.h"
|
||||
#include "nsIDOMNSUIEvent.h"
|
||||
#include "nsIDOMAbstractView.h"
|
||||
#include "nsIPrivateCompositionEvent.h"
|
||||
#include "nsDOMEvent.h"
|
||||
|
||||
class nsDOMUIEvent : public nsDOMEvent,
|
||||
|
|
|
@ -201,7 +201,7 @@ static const NPUTF8* sPluginMethodIdentifierNames[] = {
|
|||
"getClipboardText",
|
||||
"callOnDestroy",
|
||||
"reinitWidget",
|
||||
"propertyAndMethod"
|
||||
"propertyAndMethod",
|
||||
"crashInNestedLoop",
|
||||
};
|
||||
static NPIdentifier sPluginMethodIdentifiers[ARRAY_LENGTH(sPluginMethodIdentifierNames)];
|
||||
|
|
Загрузка…
Ссылка в новой задаче