Summary: | [Qt] Crash when dragging google maps. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Leo Yang <leo.yang> | ||||
Component: | WebKit Qt | Assignee: | Leo Yang <leo.yang> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://maps.google.com | ||||||
Attachments: |
|
Description
Leo Yang
2011-09-15 22:42:23 PDT
Created attachment 107605 [details]
Patch
Comment on attachment 107605 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=107605&action=review > Source/WebCore/platform/qt/CursorQt.cpp:203 > + m_platformCursor = new QCursor(Qt::ArrowCursor); m_platformCursor isn't any sort of smart pointer? Committed r95275: <http://trac.webkit.org/changeset/95275> Comment on attachment 107605 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=107605&action=review >> Source/WebCore/platform/qt/CursorQt.cpp:203 >> + m_platformCursor = new QCursor(Qt::ArrowCursor); > > m_platformCursor isn't any sort of smart pointer? It's deleted in the destructor but yes could be an improvement. Though it is define as mutable PlatformCursor m_platformCursor; for every port except Mac where it is : mutable RetainPtr<NSCursor> m_platformCursor; Definitively some improvements possible here. |