Bug 1025802 - Get rid of the Thebes backed gfxContext in the GTK widget code (Moz2D conversion). r=mattwoodrow

This commit is contained in:
Jonathan Watt 2014-06-17 10:37:46 +01:00
parent c98228197e
commit 684a6bdf1d

View File

@ -2148,8 +2148,8 @@ nsWindow::OnExposeEvent(cairo_t *cr)
gfxPlatform::GetPlatform()->CreateDrawTargetForData(
imgSurf->Data(), intSize, imgSurf->Stride(), format);
ctx = new gfxContext(dt);
} else {
ctx = new gfxContext(surf);
} else {
MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE("Unexpected content type");
}
#ifdef MOZ_X11