Comment 8 for bug 1142781

Nicolai Hähnle (nha) wrote :

I would suggest to replace the assert by throwing an exception. width() is INFINITE_WIDTH, so it's not a good idea to try to create a surface of that size...