Bug 40253

Summary: [Qt] Crashfix on Path::contains
Product: WebKit Reporter: Enrico Ros <eros>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: jchaffraix
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
This fixes a crash on isPointOnPath in PathQt.cpp ariya.hidayat: review+

Description Enrico Ros 2010-06-07 12:03:48 PDT
Created attachment 58067 [details]
This fixes a crash on isPointOnPath in PathQt.cpp

Fix accessing the first item of an empty vector, that happens when CanvasRenderingContext2D::isPointInPath is invoked over a borderless path (e.g. a path made of just a MoveTo operation).
Comment 1 Ariya Hidayat 2010-06-07 12:30:33 PDT
Comment on attachment 58067 [details]
This fixes a crash on isPointOnPath in PathQt.cpp

LGTM.
Comment 2 Julien Chaffraix 2010-06-08 16:10:45 PDT
Landed fix in r60869.