WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
144876
Move TransformOperation-based classes off of PassRefPtr
https://bugs.webkit.org/show_bug.cgi?id=144876
Summary
Move TransformOperation-based classes off of PassRefPtr
Zan Dobersek
Reported
2015-05-11 11:15:24 PDT
Move TransformOperation-based classes off of PassRefPtr
Attachments
Patch
(26.62 KB, patch)
2015-05-11 11:21 PDT
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
Patch for landing
(27.40 KB, patch)
2015-05-12 01:05 PDT
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2015-05-11 11:21:16 PDT
Created
attachment 252871
[details]
Patch
Darin Adler
Comment 2
2015-05-11 17:20:40 PDT
Comment on
attachment 252871
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=252871&action=review
> Source/WebCore/platform/graphics/transforms/TransformOperation.h:30 > +#include <wtf/Ref.h>
I think Forward.h would have sufficed here. I don’t think we need to include Ref.h just to declare functions with Ref<X> as a return type.
> Source/WebCore/platform/graphics/transforms/TransformOperations.cpp:85 > + RefPtr<TransformOperation> blendedOperation = toOperation ? toOperation->blend(fromOperation.get(), progress) : (fromOperation ? RefPtr<TransformOperation>(fromOperation->blend(nullptr, progress, true)) : nullptr);
A real shame that we have to cast to RefPtr here. At some point we should probably add something that turns a Ref into a RefPtr without having to repeat the name of the type involved.
Zan Dobersek
Comment 3
2015-05-12 00:58:53 PDT
Comment on
attachment 252871
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=252871&action=review
>> Source/WebCore/platform/graphics/transforms/TransformOperation.h:30 >> +#include <wtf/Ref.h> > > I think Forward.h would have sufficed here. I don’t think we need to include Ref.h just to declare functions with Ref<X> as a return type.
That entails including Ref.h in all the header files declaring the deriving interfaces, but I'm OK with that.
Zan Dobersek
Comment 4
2015-05-12 01:05:56 PDT
Created
attachment 252949
[details]
Patch for landing
Zan Dobersek
Comment 5
2015-05-12 02:54:52 PDT
Comment on
attachment 252949
[details]
Patch for landing Clearing flags on attachment: 252949 Committed
r184193
: <
http://trac.webkit.org/changeset/184193
>
Zan Dobersek
Comment 6
2015-05-12 02:54:59 PDT
All reviewed patches have been landed. Closing bug.
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