Bug 738189 - Followup: Properly move functions into #ifdef. r=bustage

This commit is contained in:
Bas Schouten 2012-06-21 00:32:52 +02:00
parent cf206a8907
commit 8bff902af4

View File

@ -352,6 +352,18 @@ Factory::CreateDWriteGlyphRenderingOptions(IDWriteRenderingParams *aParams)
return options;
}
uint64_t
Factory::GetD2DVRAMUsageDrawTarget()
{
return DrawTargetD2D::mVRAMUsageDT;
}
uint64_t
Factory::GetD2DVRAMUsageSourceSurface()
{
return DrawTargetD2D::mVRAMUsageSS;
}
#endif // XP_WIN
TemporaryRef<DrawTarget>
@ -381,17 +393,5 @@ Factory::CreateWrappingDataSourceSurface(uint8_t *aData, int32_t aStride,
return NULL;
}
uint64_t
Factory::GetD2DVRAMUsageDrawTarget()
{
return DrawTargetD2D::mVRAMUsageDT;
}
uint64_t
Factory::GetD2DVRAMUsageSourceSurface()
{
return DrawTargetD2D::mVRAMUsageSS;
}
}
}