[Webkit-unassigned] [Bug 126979] [GTK] Web process sometimes crashes when printing in synchronous mode
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 15 04:28:48 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=126979
Gustavo Noronha (kov) <gns at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #221254|review? |review+
Flag| |
--- Comment #2 from Gustavo Noronha (kov) <gns at gnome.org> 2014-01-15 04:26:25 PST ---
(From update of attachment 221254)
View in context: https://bugs.webkit.org/attachment.cgi?id=221254&action=review
LGTM, only a few questions to ensure I understood the life-cycle of the printer list correctly.
> Source/WebKit2/ChangeLog:12
> + UI process like EndPrinting. When the EndPriting message is
Readability would be improved by using longer lines and/or splitting in paragraphs, I think.
> Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp:610
> + RefPtr<PrinterListGtk> printerList = PrinterListGtk::shared();
Do I understand correctly that the printer list is kept alive by this reference, but is destroyed afterwards? I was a bit concerned when I saw PrinterListGtk::s_sharedPrinterList, since that could mean the printer list would only be obtained once, but I think I understand the idea now.
> Source/WebKit2/WebProcess/WebPage/gtk/PrinterListGtk.h:53
> + Vector<GRefPtr<GtkPrinter>, 4> m_printerList;
Any particular reason for using 4 here?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list