WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
84747
check-webkit-style incorrectly warns about local variables and PassRefPtr.
https://bugs.webkit.org/show_bug.cgi?id=84747
Summary
check-webkit-style incorrectly warns about local variables and PassRefPtr.
Alexis Menard (darktears)
Reported
2012-04-24 12:18:30 PDT
See
https://bugs.webkit.org/show_bug.cgi?id=84734
for more context. Prototype of the function : PassRefPtr<RenderStyle> StyleResolver::styleForDocument(Document* document, CSSFontSelector* fontSelector) We do RefPtr<RenderStyle> documentStyle = RenderStyle::create(); but return that way : return documentStyle.release(); which is fine.
Attachments
Add attachment
proposed patch, testcase, etc.
Brian Burg
Comment 1
2015-01-06 14:39:10 PST
PassRefPtr is deprecated, and this style check will be removed soon.
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