Closed Bug 589891 Opened 14 years ago Closed 14 years ago

d2d 0-sized surfaces shouldn't cause a Cxx exception

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- beta5+

People

(Reporter: vlad, Assigned: vlad)

Details

Attachments

(1 file)

We get these, which makes it hard to see any real exceptions.  Instead, let's return a cairo error surface.
Attachment #468403 - Attachment is patch: true
Attachment #468403 - Attachment mime type: application/octet-stream → text/plain
Attachment #468403 - Flags: review?(jmuizelaar)
Attachment #468403 - Flags: review?(jmuizelaar) → review+
Note that all of these are showing up with this stack:

cairo_d2d_surface_create
nsWindow::ResizeTranslucentWindow
nsWindow::Resize
nsView::DoResizeWidgetBounds

So maybe we should do something for 0x0 window resizes as well.
blocking2.0: --- → beta5+
http://hg.mozilla.org/mozilla-central/rev/4747f09a62e3
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee: nobody → vladimir
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: