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

Issue 564973002: Move a bunch more painting code out of RenderBoxModelObject and into BoxPainter. (Closed)

Created:
6 years, 3 months ago by chrishtr
Modified:
6 years, 3 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, slimming-paint-reviews_chromium.org, zoltan1
Project:
blink
Visibility:
Public.

Description

Move a bunch more painting code out of RenderBoxModelObject and into BoxPainter. BUG=412088 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181930

Patch Set 1 #

Patch Set 2 : Remove unnecessary include. #

Total comments: 3

Patch Set 3 : Fix #

Total comments: 5

Patch Set 4 : Merged. #

Patch Set 5 : Merged, made more things static. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1339 lines, -1339 lines) Patch
M Source/core/paint/BoxPainter.h View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download
M Source/core/paint/BoxPainter.cpp View 1 2 3 4 5 chunks +1294 lines, -5 lines 0 comments Download
M Source/core/rendering/InlineFlowBox.cpp View 1 2 3 4 5 chunks +6 lines, -6 lines 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBoxModelObject.h View 4 chunks +0 lines, -21 lines 0 comments Download
M Source/core/rendering/RenderBoxModelObject.cpp View 1 4 chunks +0 lines, -1292 lines 0 comments Download
M Source/core/rendering/RenderFieldset.cpp View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderInline.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderMultiColumnSet.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 4 2 chunks +3 lines, -2 lines 1 comment Download
M Source/core/rendering/RenderTableCell.cpp View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
chrishtr
6 years, 3 months ago (2014-09-11 20:35:58 UTC) #2
chrishtr
6 years, 3 months ago (2014-09-11 20:36:16 UTC) #3
pdr.
Another great code move. LGTM with two questions. https://codereview.chromium.org/564973002/diff/20001/Source/core/rendering/RenderFieldset.cpp File Source/core/rendering/RenderFieldset.cpp (right): https://codereview.chromium.org/564973002/diff/20001/Source/core/rendering/RenderFieldset.cpp#newcode192 Source/core/rendering/RenderFieldset.cpp:192: BoxPainter(*this).paintBorder(paintInfo, ...
6 years, 3 months ago (2014-09-11 21:00:39 UTC) #4
chrishtr
Good catches. https://codereview.chromium.org/564973002/diff/20001/Source/core/rendering/RenderFieldset.cpp File Source/core/rendering/RenderFieldset.cpp (right): https://codereview.chromium.org/564973002/diff/20001/Source/core/rendering/RenderFieldset.cpp#newcode192 Source/core/rendering/RenderFieldset.cpp:192: BoxPainter(*this).paintBorder(paintInfo, paintRect, style()); On 2014/09/11 21:00:39, pdr ...
6 years, 3 months ago (2014-09-11 21:26:35 UTC) #5
jbroman
drive-by: caught one trivial thing while skimming this https://codereview.chromium.org/564973002/diff/40001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/564973002/diff/40001/Source/core/rendering/InlineFlowBox.cpp#newcode1231 Source/core/rendering/InlineFlowBox.cpp:1231: ASSERT(!renderer()->isText); ...
6 years, 3 months ago (2014-09-11 21:31:36 UTC) #6
jbroman
https://codereview.chromium.org/564973002/diff/40001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/564973002/diff/40001/Source/core/rendering/InlineFlowBox.cpp#newcode1231 Source/core/rendering/InlineFlowBox.cpp:1231: ASSERT(!renderer()->isText); On 2014/09/11 21:31:36, jbroman wrote: > ASSERT(!renderer()->isText()); Actually, ...
6 years, 3 months ago (2014-09-11 21:32:43 UTC) #7
pdr.
https://codereview.chromium.org/564973002/diff/40001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/564973002/diff/40001/Source/core/rendering/InlineFlowBox.cpp#newcode1231 Source/core/rendering/InlineFlowBox.cpp:1231: ASSERT(!renderer()->isText); On 2014/09/11 21:32:42, jbroman wrote: > On 2014/09/11 ...
6 years, 3 months ago (2014-09-11 22:01:37 UTC) #8
chrishtr
On 2014/09/11 at 22:01:37, pdr wrote: > https://codereview.chromium.org/564973002/diff/40001/Source/core/rendering/InlineFlowBox.cpp > File Source/core/rendering/InlineFlowBox.cpp (right): > > https://codereview.chromium.org/564973002/diff/40001/Source/core/rendering/InlineFlowBox.cpp#newcode1231 ...
6 years, 3 months ago (2014-09-12 17:01:10 UTC) #9
chrishtr
I made several more methods static, similar to what I did in the previous CL. ...
6 years, 3 months ago (2014-09-12 18:00:15 UTC) #10
pdr.
LGTM2 (with or without my friendly suggestion) https://codereview.chromium.org/564973002/diff/80001/Source/core/rendering/RenderObject.h File Source/core/rendering/RenderObject.h (right): https://codereview.chromium.org/564973002/diff/80001/Source/core/rendering/RenderObject.h#newcode1084 Source/core/rendering/RenderObject.h:1084: // FIXME: ...
6 years, 3 months ago (2014-09-12 18:23:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/564973002/80001
6 years, 3 months ago (2014-09-12 18:31:31 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 20:54:18 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 181930

Powered by Google App Engine
This is Rietveld 408576698