diff --git a/widget/src/gtk2/nsWindow.cpp b/widget/src/gtk2/nsWindow.cpp index e86928bec666..74aa32768531 100644 --- a/widget/src/gtk2/nsWindow.cpp +++ b/widget/src/gtk2/nsWindow.cpp @@ -1620,7 +1620,7 @@ nsWindow::OnExposeEvent(GtkWidget *aWidget, GdkEventExpose *aEvent) Drawable drawable = gdk_x11_drawable_get_xid(GDK_DRAWABLE(bufferPixmap)); bufferPixmapSurface = new gfxXlibSurface(display, drawable, XVisual, - gfxIntRect(boundsRect.width, boundsRect.height)); + gfxIntSize(boundsRect.width, boundsRect.height)); if (bufferPixmapSurface) { bufferPixmapSurface->SetDeviceOffset(gfxPoint(-boundsRect.x, -boundsRect.y)); nsCOMPtr newRC;