WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 183504
183554
[Web Animations] Fix some WebAnimation lifecycle issues in preparation for declarative animations support
https://bugs.webkit.org/show_bug.cgi?id=183554
Summary
[Web Animations] Fix some WebAnimation lifecycle issues in preparation for de...
Antoine Quint
Reported
2018-03-11 19:26:38 PDT
[Web Animations] Fix some WebAnimation lifecycle issues in preparation for declarative animations support
Attachments
Patch
(4.90 KB, patch)
2018-03-11 19:31 PDT
,
Antoine Quint
dino
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antoine Quint
Comment 1
2018-03-11 19:31:06 PDT
Created
attachment 335564
[details]
Patch
Dean Jackson
Comment 2
2018-03-12 02:59:52 PDT
Comment on
attachment 335564
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=335564&action=review
> Source/WebCore/animation/WebAnimation.cpp:664 > + MicrotaskQueue::mainThreadQueue().append(std::make_unique<VoidMicrotask>([this, protectedThis = makeRef(*this)] () { > + this->performMicrotask(); > + }));
No need for the this in []. Just use protectedThis->performMicrotask()
Antoine Quint
Comment 3
2018-03-12 03:04:58 PDT
(In reply to Dean Jackson from
comment #2
)
> Comment on
attachment 335564
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=335564&action=review
> > > Source/WebCore/animation/WebAnimation.cpp:664 > > + MicrotaskQueue::mainThreadQueue().append(std::make_unique<VoidMicrotask>([this, protectedThis = makeRef(*this)] () { > > + this->performMicrotask(); > > + })); > > No need for the this in []. Just use protectedThis->performMicrotask()
It actually is needed, the compiler says "'this' cannot be implicitly captured in this context" otherwise.
Antoine Quint
Comment 4
2018-03-12 06:03:55 PDT
*** This bug has been marked as a duplicate of
bug 183504
***
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