RESOLVED INVALID 60797
Fix regressions from r86447
https://bugs.webkit.org/show_bug.cgi?id=60797
Summary Fix regressions from r86447
Robert Hogan
Reported 2011-05-13 13:29:34 PDT
Fix regressions from r86447
Attachments
Patch (3.60 KB, patch)
2011-05-13 13:38 PDT, Robert Hogan
no flags
Patch (2.26 KB, patch)
2011-05-13 14:12 PDT, Robert Hogan
benjamin: review-
Robert Hogan
Comment 1 2011-05-13 13:38:42 PDT
Benjamin Poulain
Comment 2 2011-05-13 14:02:24 PDT
Comment on attachment 93501 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=93501&action=review > Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp:177 > + m_eventSenderWebView = new QWebView(0); This view is leaked. > Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp:1121 > + // that is just enough to allow EventSender to install an event filter. > + // We use a new (dummy) QWebView so that we don't interfere > + // with the EventSender on the main page. > + DumpRenderTreeSupportQt::setView(page, static_cast<WebPage*>(page)->eventSenderWebView()); I guess you could simply create the view here, so you can use the container for handling the memory. > Tools/DumpRenderTree/qt/DumpRenderTreeQt.h:187 > + QWebView* eventSenderWebView(); This is not really the event sender WebView, it is just the main view of the page. I would rather have a name that does not mention eventSender.
Robert Hogan
Comment 3 2011-05-13 14:12:35 PDT
Benjamin Poulain
Comment 4 2011-05-13 15:02:25 PDT
Comment on attachment 93506 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=93506&action=review > Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp:1114 > + QWebView* view = new QWebView(0); leak :)
Note You need to log in before you can comment on or make changes to this bug.