RESOLVED FIXED 108211
Add RenderLayer::enclosingStackingContainer
https://bugs.webkit.org/show_bug.cgi?id=108211
Summary Add RenderLayer::enclosingStackingContainer
vollick
Reported 2013-01-29 11:54:12 PST
This function is similar to RenderLayer::stackingContainer, but may return the layer itself if it's a stacking container.
Attachments
Patch (1.83 KB, patch)
2013-01-29 12:05 PST, vollick
no flags
vollick
Comment 1 2013-01-29 12:05:51 PST
Simon Fraser (smfr)
Comment 2 2013-01-29 12:10:58 PST
Comment on attachment 185279 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=185279&action=review > Source/WebCore/rendering/RenderLayer.h:446 > + RenderLayer* enclosingStackingContainer() { return isStackingContainer() ? this : stackingContainer(); } Should be const.
vollick
Comment 3 2013-01-29 12:51:38 PST
I should mention for folks not following #webkit, the reason I'd gone ahead and cq+'d the patch was because making enclosingStackingContainer const would prevent me from returning 'this' as a non-const RenderLayer*. Going with the patch as-is was the consensus in the channel.
WebKit Review Bot
Comment 4 2013-01-29 13:23:52 PST
Comment on attachment 185279 [details] Patch Rejecting attachment 185279 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=gce-cq-02', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 185279, '--port=chromium-xvfb']" exit_code: 2 cwd: /mnt/git/webkit-commit-queue Last 500 characters of output: rce/WebKit/chromium/webkit/media/crypto/ppapi/cdm --revision 173055 --non-interactive --force --accept theirs-conflict --ignore-externals' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' 56>At revision 173055. ________ running '/usr/bin/python tools/clang/scripts/update.py --mac-only' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' ________ running '/usr/bin/python gyp_webkit' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' Updating webkit projects from gyp files... Full output: http://queues.webkit.org/results/16202287
WebKit Review Bot
Comment 5 2013-01-29 13:23:59 PST
Comment on attachment 185279 [details] Patch Clearing flags on attachment: 185279 Committed r141159: <http://trac.webkit.org/changeset/141159>
WebKit Review Bot
Comment 6 2013-01-29 13:24:02 PST
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.