Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Issue 1966913002: Clean up obsolete LayoutUnit.rawValue() FIXME comments. (Closed)

Created:
4 years, 7 months ago by wkorman
Modified:
4 years, 7 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up obsolete LayoutUnit.rawValue() FIXME comments. One comment references altering enclosingIntRect() to do pixel snapping, but we've made many pixel snapping changes since that comment was written, so without an explicit open bug or known broken test case removal seems reasonable. BUG=612055 Committed: https://crrev.com/afc18e1ee0f60d03916954684c8e77d57606fe17 Cr-Commit-Position: refs/heads/master@{#394275}

Patch Set 1 #

Total comments: 2

Patch Set 2 : No more enclosingIntRect on logicalFrameRect. #

Total comments: 2

Patch Set 3 : Remove braces and add rebaselines. #

Patch Set 4 : Sync to head. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp View 1 2 2 chunks +2 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
wkorman
4 years, 7 months ago (2016-05-10 22:08:47 UTC) #2
eae
https://codereview.chromium.org/1966913002/diff/1/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp File third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp (right): https://codereview.chromium.org/1966913002/diff/1/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp#newcode84 third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp:84: return LayoutRect(enclosingIntRect(logicalFrameRect())); This should probably be pixelSnappedIntRect instead or ...
4 years, 7 months ago (2016-05-10 22:30:11 UTC) #3
leviw_travelin_and_unemployed
https://codereview.chromium.org/1966913002/diff/20001/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp File third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp (right): https://codereview.chromium.org/1966913002/diff/20001/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp#newcode83 third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp:83: if (knownToHaveNoOverflow() || !gTextBoxesWithOverflow) { And remove those braces! ...
4 years, 7 months ago (2016-05-11 00:49:25 UTC) #5
wkorman
https://codereview.chromium.org/1966913002/diff/1/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp File third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp (right): https://codereview.chromium.org/1966913002/diff/1/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp#newcode84 third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp:84: return LayoutRect(enclosingIntRect(logicalFrameRect())); On 2016/05/10 at 22:30:11, eae wrote: > ...
4 years, 7 months ago (2016-05-15 22:01:04 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1966913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1966913002/40001
4 years, 7 months ago (2016-05-15 22:01:24 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-15 23:44:07 UTC) #11
eae
LGTM
4 years, 7 months ago (2016-05-16 16:49:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1966913002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1966913002/60001
4 years, 7 months ago (2016-05-17 21:29:31 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-18 00:03:51 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 00:06:31 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/afc18e1ee0f60d03916954684c8e77d57606fe17
Cr-Commit-Position: refs/heads/master@{#394275}

Powered by Google App Engine
This is Rietveld 408576698