RESOLVED FIXED 163895
More PassRefPtr purging in WebCore.
https://bugs.webkit.org/show_bug.cgi?id=163895
Summary More PassRefPtr purging in WebCore.
Andreas Kling
Reported 2016-10-24 09:46:19 PDT
Did a bit of Sunday night PassRefPtr removal. Patch coming.
Attachments
Patch (59.92 KB, patch)
2016-10-24 09:47 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2016-10-24 09:47:07 PDT
WebKit Commit Bot
Comment 2 2016-10-24 09:49:28 PDT
Attachment 292618 [details] did not pass style-queue: ERROR: Source/WebCore/rendering/RenderLayer.h:216: 'createScrollbar' is incorrectly named. It should be named 'protector' or 'protectedScrollbarOrientation'. [readability/naming/protected] [4] ERROR: Source/WebCore/rendering/style/RenderStyle.h:1532: More than one command on the same line in if [whitespace/parens] [4] Total errors found: 2 in 50 files If any of these errors are false positives, please file a bug against check-webkit-style.
Antti Koivisto
Comment 3 2016-10-25 02:54:46 PDT
Comment on attachment 292618 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=292618&action=review > Source/WebCore/rendering/RenderThemeGtk.cpp:73 > static RenderTheme& rt = RenderThemeGtk::create().leakRef(); > - return &rt; > + return rt; You could also give it a real name. > Source/WebCore/rendering/RenderThemeMac.mm:203 > static RenderTheme& rt = RenderThemeMac::create().leakRef(); > - return &rt; > + return rt; Here too.
WebKit Commit Bot
Comment 4 2016-10-25 03:30:02 PDT
Comment on attachment 292618 [details] Patch Clearing flags on attachment: 292618 Committed r207814: <http://trac.webkit.org/changeset/207814>
WebKit Commit Bot
Comment 5 2016-10-25 03:30:05 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.