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

Issue 1993713002: Move line painting to BlockFlowPainter. (Closed)

Created:
4 years, 7 months ago by mstensho (USE GERRIT)
Modified:
4 years, 7 months ago
Reviewers:
chrishtr, Xianzhu
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, 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

Move line painting to BlockFlowPainter. Removed some unnecessary includes, since I had to modify the list of includes anyway. Also got rid of LayoutBlock(Flow)::paintFloats() in the process. BUG=302024 Committed: https://crrev.com/e3ee937939aeee83e1908a995dc32d8ef7c5c3d2 Cr-Commit-Position: refs/heads/master@{#394581}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Invoke BlockFlowPainter from BlockPainter instead. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -38 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBlock.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutText.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/BlockFlowPainter.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp View 1 1 chunk +20 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BlockPainter.h View 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/BlockPainter.cpp View 1 3 chunks +12 lines, -24 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
mstensho (USE GERRIT)
https://codereview.chromium.org/1993713002/diff/1/third_party/WebKit/Source/core/paint/BlockPainter.cpp File third_party/WebKit/Source/core/paint/BlockPainter.cpp (right): https://codereview.chromium.org/1993713002/diff/1/third_party/WebKit/Source/core/paint/BlockPainter.cpp#newcode179 third_party/WebKit/Source/core/paint/BlockPainter.cpp:179: m_layoutBlock.paintContentsAndFloats(contentsPaintInfo, paintOffset); Not sure how you prefer this. We ...
4 years, 7 months ago (2016-05-18 15:12:34 UTC) #2
chrishtr
https://codereview.chromium.org/1993713002/diff/1/third_party/WebKit/Source/core/paint/BlockPainter.cpp File third_party/WebKit/Source/core/paint/BlockPainter.cpp (right): https://codereview.chromium.org/1993713002/diff/1/third_party/WebKit/Source/core/paint/BlockPainter.cpp#newcode179 third_party/WebKit/Source/core/paint/BlockPainter.cpp:179: m_layoutBlock.paintContentsAndFloats(contentsPaintInfo, paintOffset); On 2016/05/18 at 15:12:34, mstensho wrote: > ...
4 years, 7 months ago (2016-05-18 16:50:42 UTC) #3
mstensho (USE GERRIT)
https://codereview.chromium.org/1993713002/diff/1/third_party/WebKit/Source/core/paint/BlockPainter.cpp File third_party/WebKit/Source/core/paint/BlockPainter.cpp (right): https://codereview.chromium.org/1993713002/diff/1/third_party/WebKit/Source/core/paint/BlockPainter.cpp#newcode179 third_party/WebKit/Source/core/paint/BlockPainter.cpp:179: m_layoutBlock.paintContentsAndFloats(contentsPaintInfo, paintOffset); On 2016/05/18 16:50:42, chrishtr wrote: > On ...
4 years, 7 months ago (2016-05-18 18:51:08 UTC) #4
chrishtr
lgtm Definitely what you did is ok, nice. There are other examples of this kind ...
4 years, 7 months ago (2016-05-18 21:11:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1993713002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1993713002/20001
4 years, 7 months ago (2016-05-18 21:35:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1993713002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1993713002/20001
4 years, 7 months ago (2016-05-18 21:36:49 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-18 22:55:59 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 22:57:33 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e3ee937939aeee83e1908a995dc32d8ef7c5c3d2
Cr-Commit-Position: refs/heads/master@{#394581}

Powered by Google App Engine
This is Rietveld 408576698