The DRT test suite identified a crash bug in the Windows Cairo build. If a null platform graphics context is passed to the GraphicsContext constructor, e.g., from Line 3724 in RenderBlock.cpp: GraphicsContext context((PlatformGraphicsContext*)0); The internal Windows Cairo sync function (which attempts to keep the Windows DC in sync with the Cairo one) will crash when it attempts to retrieve the Cairo surface from the null pointer (see Line 180 in GraphicsContextCairoWin.cpp): cairo_surface_t* surface = cairo_get_target(cr); The fix is to check for a null pointer before attempting to do so.
Created attachment 31367 [details] Null check.
Comment on attachment 31367 [details] Null check. r=me
Landed in http://trac.webkit.org/changeset/44734