mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Bug 1101130 Followup to add a missing #ifdef r=Bas
This commit is contained in:
parent
9910919cdd
commit
dc12b131f1
@ -671,12 +671,14 @@ Factory::GetD2DVRAMUsageSourceSurface()
|
||||
void
|
||||
Factory::D2DCleanup()
|
||||
{
|
||||
#ifdef USE_D2D1_1
|
||||
if (mD2D1Device) {
|
||||
mD2D1Device->Release();
|
||||
mD2D1Device = nullptr;
|
||||
}
|
||||
DrawTargetD2D::CleanupD2D();
|
||||
DrawTargetD2D1::CleanupD2D();
|
||||
#endif
|
||||
DrawTargetD2D::CleanupD2D();
|
||||
}
|
||||
|
||||
#endif // XP_WIN
|
||||
|
Loading…
Reference in New Issue
Block a user