Bug 123408

Summary: Clean up ScopedEventQueue
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, kangil.han
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

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.