RESOLVED FIXED123408
Clean up ScopedEventQueue
https://bugs.webkit.org/show_bug.cgi?id=123408
Summary Clean up ScopedEventQueue
Zan Dobersek
Reported 2013-10-28 09:52:49 PDT
Clean up ScopedEventQueue
Attachments
Patch (6.19 KB, patch)
2013-10-28 09:59 PDT, Zan Dobersek
darin: review+
Zan Dobersek
Comment 1 2013-10-28 09:59:21 PDT
Darin Adler
Comment 2 2013-10-28 10:08:57 PDT
Comment on attachment 215316 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=215316&action=review > Source/WebCore/dom/ScopedEventQueue.cpp:77 > + Vector<RefPtr<Event>> queuedEvents; > + queuedEvents.swap(m_queuedEvents); We should use move instead of swap here: Vector<RefPtr<Event>> queuedEvents = std::move(m_queuedEvents);
Zan Dobersek
Comment 3 2013-10-29 00:41:04 PDT
Note You need to log in before you can comment on or make changes to this bug.