mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 773192: Only proxy drawing to a non-default target in BasicShadowableLayerManager, i.e. drawWindow(USE_WIDGET_LAYERS) for a content context, when the request is same-process. r=ajuma
This commit is contained in:
parent
2dcbf16323
commit
db8fe81f49
@ -10,6 +10,7 @@
|
||||
#include "gfxSharedImageSurface.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxUtils.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "RenderTrace.h"
|
||||
#include "sampler.h"
|
||||
|
||||
@ -950,7 +951,8 @@ BasicShadowLayerManager::BeginTransactionWithTarget(gfxContext* aTarget)
|
||||
|
||||
// If we have a non-default target, we need to let our shadow manager draw
|
||||
// to it. This will happen at the end of the transaction.
|
||||
if (aTarget && (aTarget != mDefaultTarget)) {
|
||||
if (aTarget && (aTarget != mDefaultTarget) &&
|
||||
XRE_GetProcessType() == GeckoProcessType_Default) {
|
||||
mShadowTarget = aTarget;
|
||||
|
||||
// Create a temporary target for ourselves, so that mShadowTarget is only
|
||||
|
Loading…
Reference in New Issue
Block a user