mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 78f1f02b6b36 (bug 907926) for TART regressions
This commit is contained in:
parent
7731d88199
commit
61628c8947
@ -27,10 +27,6 @@
|
||||
#include "cairo-xlib.h"
|
||||
#endif
|
||||
|
||||
#ifdef CAIRO_HAS_WIN32_SURFACE
|
||||
#include "cairo-win32.h"
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace mozilla {
|
||||
@ -110,15 +106,6 @@ GetCairoSurfaceSize(cairo_surface_t* surface, IntSize& size)
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
#ifdef CAIRO_HAS_WIN32_SURFACE
|
||||
case CAIRO_SURFACE_TYPE_WIN32:
|
||||
case CAIRO_SURFACE_TYPE_WIN32_PRINTING:
|
||||
{
|
||||
size.width = cairo_win32_surface_get_width(surface);
|
||||
size.height = cairo_win32_surface_get_height(surface);
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
default:
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user