WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
94262
Delete some dead code in RenderBox::computePercentageLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=94262
Summary
Delete some dead code in RenderBox::computePercentageLogicalHeight
Ojan Vafai
Reported
2012-08-16 16:05:51 PDT
Delete some dead code in RenderBox::computePercentageLogicalHeight
Attachments
Patch
(1.91 KB, patch)
2012-08-16 16:35 PDT
,
Ojan Vafai
tony
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ojan Vafai
Comment 1
2012-08-16 16:35:07 PDT
Created
attachment 158940
[details]
Patch
Tony Chang
Comment 2
2012-08-16 18:06:30 PDT
Comment on
attachment 158940
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=158940&action=review
> Source/WebCore/ChangeLog:9 > + I'm pretty sure this is dead code. None of the layout tests hit this code, > + including the ones added in the original patch
http://trac.webkit.org/changeset/10983
.
Do we not hit this code because we hit an earlier case that does the same thing?
Ojan Vafai
Comment 3
2012-08-16 18:12:02 PDT
Comment on
attachment 158940
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=158940&action=review
>> Source/WebCore/ChangeLog:9 >> + including the ones added in the original patch
http://trac.webkit.org/changeset/10983
. > > Do we not hit this code because we hit an earlier case that does the same thing?
No. The cases where we might in theory hit this code, we instead go through computePositionedLogicalHeight (i.e. never call computePercentageLogicalHeight).
Tony Chang
Comment 4
2012-08-16 18:25:01 PDT
Comment on
attachment 158940
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=158940&action=review
>>> Source/WebCore/ChangeLog:9 >>> + including the ones added in the original patch
http://trac.webkit.org/changeset/10983
. >> >> Do we not hit this code because we hit an earlier case that does the same thing? > > No. The cases where we might in theory hit this code, we instead go through computePositionedLogicalHeight (i.e. never call computePercentageLogicalHeight).
I would include this explanation in the ChangeLog. Would also be good to say which test covers this.
Ojan Vafai
Comment 5
2012-08-17 14:46:36 PDT
Committed
r125938
: <
http://trac.webkit.org/changeset/125938
>
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