Bug 1334761: UpdateClearTypeUsage on startup. r=jfkthame
MozReview-Commit-ID: AQciEae36eW
--- a/gfx/thebes/gfxWindowsPlatform.cpp
+++ b/gfx/thebes/gfxWindowsPlatform.cpp
@@ -321,16 +321,17 @@ gfxWindowsPlatform::gfxWindowsPlatform()
/*
* Initialize COM
*/
CoInitialize(nullptr);
RegisterStrongMemoryReporter(new GfxD2DVramReporter());
RegisterStrongMemoryReporter(new GPUAdapterReporter());
RegisterStrongMemoryReporter(new D3DSharedTexturesReporter());
+ gfxDWriteFont::UpdateClearTypeUsage();
}
gfxWindowsPlatform::~gfxWindowsPlatform()
{
mozilla::gfx::Factory::D2DCleanup();
DeviceManagerD3D9::Shutdown();
DeviceManagerDx::Shutdown();