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

Issue 891573002: Removed a bunch of unneeded paint phase checks. (Closed)

Created:
5 years, 10 months ago by ojan
Modified:
5 years, 10 months ago
CC:
esprehn, abarth-chromium, mojo-reviews_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Removed a bunch of unneeded paint phase checks. We only have two paint phases now, so we don't need to do as many checks. Also, remove some early returns that are not possible to hit since the earlier code checks that phase already. R=abarth@chromium.org, esprehn@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/da24e949d91ebea9302a4b1f96558b99c35a74eb

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -49 lines) Patch
M sky/engine/core/rendering/InlineFlowBox.cpp View 3 chunks +1 line, -7 lines 3 comments Download
M sky/engine/core/rendering/InlineTextBox.cpp View 1 chunk +10 lines, -12 lines 1 comment Download
M sky/engine/core/rendering/RenderBlock.cpp View 3 chunks +9 lines, -19 lines 1 comment Download
M sky/engine/core/rendering/RenderBox.cpp View 1 chunk +0 lines, -3 lines 1 comment Download
M sky/engine/core/rendering/RenderLayer.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M sky/engine/core/rendering/RenderReplaced.cpp View 1 chunk +1 line, -4 lines 1 comment Download
M sky/engine/core/rendering/RootInlineBox.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
ojan
https://codereview.chromium.org/891573002/diff/1/sky/engine/core/rendering/InlineFlowBox.cpp File sky/engine/core/rendering/InlineFlowBox.cpp (left): https://codereview.chromium.org/891573002/diff/1/sky/engine/core/rendering/InlineFlowBox.cpp#oldcode1176 sky/engine/core/rendering/InlineFlowBox.cpp:1176: if (paintInfo.phase != PaintPhaseMask) The caller already does this ...
5 years, 10 months ago (2015-01-30 01:25:59 UTC) #2
abarth-chromium
lgtm https://codereview.chromium.org/891573002/diff/1/sky/engine/core/rendering/InlineFlowBox.cpp File sky/engine/core/rendering/InlineFlowBox.cpp (left): https://codereview.chromium.org/891573002/diff/1/sky/engine/core/rendering/InlineFlowBox.cpp#oldcode1176 sky/engine/core/rendering/InlineFlowBox.cpp:1176: if (paintInfo.phase != PaintPhaseMask) On 2015/01/30 at 01:25:59, ...
5 years, 10 months ago (2015-01-30 02:37:56 UTC) #4
esprehn
lgtm
5 years, 10 months ago (2015-01-30 02:53:18 UTC) #5
ojan
https://codereview.chromium.org/891573002/diff/1/sky/engine/core/rendering/InlineFlowBox.cpp File sky/engine/core/rendering/InlineFlowBox.cpp (left): https://codereview.chromium.org/891573002/diff/1/sky/engine/core/rendering/InlineFlowBox.cpp#oldcode1176 sky/engine/core/rendering/InlineFlowBox.cpp:1176: if (paintInfo.phase != PaintPhaseMask) On 2015/01/30 02:37:56, abarth wrote: ...
5 years, 10 months ago (2015-01-30 02:54:49 UTC) #6
ojan
5 years, 10 months ago (2015-01-30 02:57:11 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
da24e949d91ebea9302a4b1f96558b99c35a74eb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698