WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
123408
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2013-10-28 09:59:21 PDT
Created
attachment 215316
[details]
Patch
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
Committed
r158182
: <
http://trac.webkit.org/changeset/158182
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug