[Gtk] Assertions in gtk_widget_draw when acquiring pixel output
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Jun 2012 13:21:08 +0000 (13:21 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Jun 2012 13:21:08 +0000 (13:21 +0000)
commitff8dbd208aa32d7f1bf3868fdd66ca4401facd7f
tree2c073ea9da0f91fb2acf14f5d49216343286d2cc
parentc702e3a9d79a5e45fbd2878ad36f0af9401a2e31
[Gtk] Assertions in gtk_widget_draw when acquiring pixel output
https://bugs.webkit.org/show_bug.cgi?id=88060

Reviewed by Martin Robinson.

Spin the main loop before acquiring the pixel content. This ensures things
like late size allocations are finished before calling gtk_widget_draw,
avoiding assertions and subsequent empty pixel results.

* DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
(createBitmapContextFromWebView):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@119715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/DumpRenderTree/gtk/PixelDumpSupportGtk.cpp