WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
80222
RetainPtr: Use adoptCF function instead of AdoptCF constructor argument
https://bugs.webkit.org/show_bug.cgi?id=80222
Summary
RetainPtr: Use adoptCF function instead of AdoptCF constructor argument
Darin Adler
Reported
2012-03-04 11:53:41 PST
We should change clients of RetainPtr to use the adoptCF function instead of the adoptCF constructor argument. Then we should get rid of the AdoptCF constructor or make it private.
Attachments
Patch
(4.94 KB, patch)
2013-05-27 16:23 PDT
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Patch
(12.75 KB, patch)
2014-05-04 17:24 PDT
,
Darin Adler
ap
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2013-05-09 18:12:12 PDT
This is mostly done.
Darin Adler
Comment 2
2013-05-27 16:23:08 PDT
Created
attachment 203014
[details]
Patch
Darin Adler
Comment 3
2013-05-27 16:23:17 PDT
***
Bug 80223
has been marked as a duplicate of this bug. ***
Darin Adler
Comment 4
2013-05-27 16:31:26 PDT
This will break iOS so I can’t land it until I do some work on the internal code there.
Darin Adler
Comment 5
2014-05-04 17:24:25 PDT
Created
attachment 230797
[details]
Patch
WebKit Commit Bot
Comment 6
2014-05-04 17:25:59 PDT
Attachment 230797
[details]
did not pass style-queue: ERROR: Source/WTF/wtf/RetainPtr.h:51: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WTF/wtf/RetainPtr.h:62: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/WTF/wtf/RetainPtr.h:107: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 3 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Darin Adler
Comment 7
2014-05-05 20:13:21 PDT
Committed
r168348
: <
http://trac.webkit.org/changeset/168348
>
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