diff --git a/gfx/2d/DrawTargetD2D1.cpp b/gfx/2d/DrawTargetD2D1.cpp index c4836df2f9be..06a899d0120a 100644 --- a/gfx/2d/DrawTargetD2D1.cpp +++ b/gfx/2d/DrawTargetD2D1.cpp @@ -88,7 +88,7 @@ DrawTargetD2D1::Snapshot() } PopAllClips(); - mDC->Flush(); + Flush(); mSnapshot = new SourceSurfaceD2D1(mBitmap, mDC, mFormat, mSize, this);