[webkit-reviews] review requested: [Bug 77760] GtkLauncher.exe doesn't draw anything in its webkitwebview : [Attachment 125378] Create the backing store after WebKitWebView is realized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 3 11:50:41 PST 2012


Kalev Lember <kalevlember at gmail.com> has asked	for review:
Bug 77760: GtkLauncher.exe doesn't draw anything in its webkitwebview
https://bugs.webkit.org/show_bug.cgi?id=77760

Attachment 125378: Create the backing store after WebKitWebView is realized
https://bugs.webkit.org/attachment.cgi?id=125378&action=review

------- Additional Comments from Kalev Lember <kalevlember at gmail.com>
The widget backing store was created in size_allocate() before the
widget was realized. This wasn't a problem for GtkWidgetBackingStoreX11,
but WidgetBackingStoreCairo's constructor needs the widget's GDK window,
which is is created in realize().

Fixes the WebKitWebView not painting on platforms that use
WidgetBackingStoreCairo, e.g. win32.

Gdk-CRITICAL **: IA__gdk_window_create_similar_surface: assertion
`GDK_IS_WINDOW (window)' failed


More information about the webkit-reviews mailing list