RESOLVED FIXED 75266
Function should handle wrapping/unwrapping RefPtr and PassRefPtr
https://bugs.webkit.org/show_bug.cgi?id=75266
Summary Function should handle wrapping/unwrapping RefPtr and PassRefPtr
Anders Carlsson
Reported 2011-12-27 13:16:58 PST
Function should handle wrapping/unwrapping RefPtr and PassRefPtr
Attachments
Patch (7.64 KB, patch)
2011-12-27 13:21 PST, Anders Carlsson
sam: review+
Anders Carlsson
Comment 1 2011-12-27 13:21:25 PST
WebKit Review Bot
Comment 2 2011-12-27 13:25:53 PST
Attachment 120614 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Tools/TestWebKitAPI/Tests/WTF/Functional.cpp:186: Extra space before ( in function call [whitespace/parens] [4] Tools/TestWebKitAPI/Tests/WTF/Functional.cpp:189: Extra space before ( in function call [whitespace/parens] [4] Tools/TestWebKitAPI/Tests/WTF/Functional.cpp:193: Extra space before ( in function call [whitespace/parens] [4] Source/JavaScriptCore/wtf/Functional.h:216: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Total errors found: 4 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 3 2011-12-27 13:26:53 PST
Comment on attachment 120614 [details] Patch Looks good. You might want to add tests for the wrap/unwrap functions directly, but this looks fine.
Anders Carlsson
Comment 4 2011-12-27 13:40:26 PST
Note You need to log in before you can comment on or make changes to this bug.