Created attachment 91536 [details] Patch Reviewed by NOBODY (OOPS!). * WebView/WebFullScreenController.mm: (-[WebFullscreenWindow initWithContentRect:styleMask:backing:defer:]): Release the CALayer. --- 2 files changed, 11 insertions(+), 0 deletions(-)
Attachment 91536 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/mac/ChangeLog', u'Source/Web..." exit_code: 1 Source/WebKit/mac/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 91536 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=91536&action=review > Source/WebKit/mac/WebView/WebFullScreenController.mm:816 > + [contentLayer release]; Whoops. A leaked CALayer indeed. Looks good to me.
Comment on attachment 91536 [details] Patch Okay, but why not use RetainPtr?
(In reply to comment #3) > (From update of attachment 91536 [details]) > Okay, but why not use RetainPtr? It wasn't used in the file yet, and I was making the minimal change necessary to fix the bug. I'll switch to RetainPtr<> for the CALayer.
Committed r85248: <http://trac.webkit.org/changeset/85248>
http://trac.webkit.org/changeset/85248 might have broken WinCE Release (Build)