mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 861731, remove redundent Connect, Attach call. r=nical
--HG-- extra : rebase_source : af4a88fd5ddd8cecfceea49e88eebb37bf833517
This commit is contained in:
parent
4febdbc832
commit
cc237262da
@ -278,11 +278,8 @@ BasicShadowableThebesLayer::PaintBuffer(gfxContext* aContext,
|
||||
void* aCallbackData)
|
||||
{
|
||||
ContentClientRemote* contentClientRemote = static_cast<ContentClientRemote*>(mContentClient.get());
|
||||
if (HasShadow() && !mContentClient->GetIPDLActor()) {
|
||||
mContentClient->Connect();
|
||||
BasicManager()->Attach(mContentClient, this);
|
||||
}
|
||||
MOZ_ASSERT(contentClientRemote->GetIPDLActor() || !HasShadow());
|
||||
|
||||
// NB: this just throws away the entire valid region if there are
|
||||
// too many rects.
|
||||
mValidRegion.SimplifyInward(8);
|
||||
|
Loading…
Reference in New Issue
Block a user