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

Issue 1379213002: Remove LayoutTable::m_currentBorder (Closed)

Created:
5 years, 2 months ago by Xianzhu
Modified:
5 years, 2 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, f(malita), jbroman, jchaffraix+rendering, Justin Novosad, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_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

Remove LayoutTable::m_currentBorder It's merely for TablePainter to tell TableCellPainter which collapsed border to paint during painting. Now pass it directly through parameter of TableSectionPainter::paintCollapsedBorders() and TableCellPainter::paintCollapsedBorders(). Other changes: - PaintPhaseCollapsedTableBorders no longer needs to be a paint phase; - Removed the original slow path in TableSectionPainter::paintObject for collapsed borders, because collapsed borders are not affected by cell overflows, and overlapping cells because of spans also don't affect painting order of their collapsed borders; - When collapsed border changes, invalidate the cell on table because collapsed borders are always painted on the table's backing, even if any section, row or cell has composited layer. BUG=510492 Committed: https://crrev.com/cb947c0153db0ec02a8abbcb3ca086d88bf6006f Cr-Commit-Position: refs/heads/master@{#352221}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update comment #

Messages

Total messages: 10 (3 generated)
Xianzhu
5 years, 2 months ago (2015-10-02 00:58:53 UTC) #2
Xianzhu
Some notes for reviewer. https://codereview.chromium.org/1379213002/diff/1/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp File third_party/WebKit/Source/core/paint/TableSectionPainter.cpp (right): https://codereview.chromium.org/1379213002/diff/1/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp#newcode61 third_party/WebKit/Source/core/paint/TableSectionPainter.cpp:61: { Note: this is extracted ...
5 years, 2 months ago (2015-10-02 18:22:25 UTC) #3
pdr.
LGTM. This change looked scary, but ended up being clean. https://codereview.chromium.org/1379213002/diff/1/third_party/WebKit/Source/core/layout/LayoutTable.h File third_party/WebKit/Source/core/layout/LayoutTable.h (right): https://codereview.chromium.org/1379213002/diff/1/third_party/WebKit/Source/core/layout/LayoutTable.h#newcode383 ...
5 years, 2 months ago (2015-10-02 22:05:08 UTC) #4
Xianzhu
https://codereview.chromium.org/1379213002/diff/1/third_party/WebKit/Source/core/layout/LayoutTable.h File third_party/WebKit/Source/core/layout/LayoutTable.h (right): https://codereview.chromium.org/1379213002/diff/1/third_party/WebKit/Source/core/layout/LayoutTable.h#newcode383 third_party/WebKit/Source/core/layout/LayoutTable.h:383: // TODO(layout-dev): All mutables in this class (except noted) ...
5 years, 2 months ago (2015-10-02 22:20:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1379213002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1379213002/20001
5 years, 2 months ago (2015-10-02 22:21:04 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-03 01:33:41 UTC) #9
commit-bot: I haz the power
5 years, 2 months ago (2015-10-03 01:34:56 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cb947c0153db0ec02a8abbcb3ca086d88bf6006f
Cr-Commit-Position: refs/heads/master@{#352221}

Powered by Google App Engine
This is Rietveld 408576698