mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1025802 - Get rid of the Thebes backed gfxContext in the GTK widget code (Moz2D conversion). r=mattwoodrow
This commit is contained in:
parent
c98228197e
commit
684a6bdf1d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user