RESOLVED FIXED Bug 82206
Revert RenderApplet::intrinsicSize to integers
https://bugs.webkit.org/show_bug.cgi?id=82206
Summary Revert RenderApplet::intrinsicSize to integers
Levi Weintraub
Reported 2012-03-26 07:36:40 PDT
Intrinsic sizes originate either outside of WebCore, or from constant integers. There is no need for them to be LayoutUnits. In the process of looking through our usage, I also identified some dead code I'm removing.
Attachments
Patch (4.59 KB, patch)
2012-03-26 07:42 PDT, Levi Weintraub
no flags
Patch for landing (2.26 KB, patch)
2012-03-27 04:06 PDT, Levi Weintraub
no flags
Levi Weintraub
Comment 1 2012-03-26 07:42:34 PDT
Eric Seidel (no email)
Comment 2 2012-03-26 15:41:06 PDT
Comment on attachment 133809 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=133809&action=review > Source/WebCore/rendering/RenderReplaced.cpp:-205 > -int RenderReplaced::computeIntrinsicLogicalWidth(RenderBox* contentRenderer, bool includeMaxWidth) const Really? Dead?
Levi Weintraub
Comment 3 2012-03-27 02:53:32 PDT
(In reply to comment #2) > (From update of attachment 133809 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=133809&action=review > > > Source/WebCore/rendering/RenderReplaced.cpp:-205 > > -int RenderReplaced::computeIntrinsicLogicalWidth(RenderBox* contentRenderer, bool includeMaxWidth) const > > Really? Dead? I know... I was amazed, too, but I did my due diligence with grep. You can also note that they're non-virtual private functions and have now passed all EWS bots as well. Dead dead dead!
WebKit Review Bot
Comment 4 2012-03-27 03:08:19 PDT
Comment on attachment 133809 [details] Patch Rejecting attachment 133809 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: rce/WebCore/rendering/RenderReplaced.cpp Hunk #1 FAILED at 202. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/rendering/RenderReplaced.cpp.rej patching file Source/WebCore/rendering/RenderReplaced.h Hunk #1 FAILED at 63. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/rendering/RenderReplaced.h.rej Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Eric Seidel']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output: http://queues.webkit.org/results/12141453
Levi Weintraub
Comment 5 2012-03-27 03:59:14 PDT
(In reply to comment #4) > (From update of attachment 133809 [details]) > Rejecting attachment 133809 [details] from commit-queue. > > Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 > > Last 500 characters of output: > rce/WebCore/rendering/RenderReplaced.cpp > Hunk #1 FAILED at 202. > 1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/rendering/RenderReplaced.cpp.rej > patching file Source/WebCore/rendering/RenderReplaced.h > Hunk #1 FAILED at 63. > 1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/rendering/RenderReplaced.h.rej > > Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Eric Seidel']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ > > Full output: http://queues.webkit.org/results/12141453 Zimmerman beat me to it! I'll stick to the first part :)
Levi Weintraub
Comment 6 2012-03-27 04:06:20 PDT
Created attachment 134018 [details] Patch for landing
WebKit Review Bot
Comment 7 2012-03-27 05:13:36 PDT
Comment on attachment 134018 [details] Patch for landing Clearing flags on attachment: 134018 Committed r112255: <http://trac.webkit.org/changeset/112255>
WebKit Review Bot
Comment 8 2012-03-27 05:13:45 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.