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

Issue 298973011: Fix under-repaint in non-RAL mode (Closed)

Created:
6 years, 7 months ago by Xianzhu
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

Fix under-repaint in non-RAL mode The under-repaint occurs in non-RAL mode when an object needs both repaint and non-full layout. https://codereview.chromium.org/265703012/ caused this because it skips the direct repaint() call in the above case. BUG=376306 TEST=fast/repaint/change-text-content-and-background-color.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174989

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix missing parens #

Patch Set 3 : NeedsRebaseline on mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -6 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/fast/repaint/change-text-content-and-background-color.html View 1 chunk +21 lines, -0 lines 0 comments Download
A + LayoutTests/fast/repaint/change-text-content-and-background-color-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Xianzhu
PTAL
6 years, 7 months ago (2014-05-23 20:14:27 UTC) #1
Xianzhu
Ping... It seems hard to keep non-RAL right because we are testing in RAL mode. ...
6 years, 7 months ago (2014-05-27 18:59:31 UTC) #2
Julien - ping for review
lgtm > It seems hard to keep non-RAL right because we are testing in RAL ...
6 years, 6 months ago (2014-05-28 06:08:03 UTC) #3
esprehn
On 2014/05/28 06:08:03, Julien Chaffraix - CET wrote: > lgtm > > > It seems ...
6 years, 6 months ago (2014-05-28 08:55:42 UTC) #4
esprehn
https://codereview.chromium.org/298973011/diff/40001/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/298973011/diff/40001/Source/core/rendering/RenderObject.cpp#newcode2074 Source/core/rendering/RenderObject.cpp:2074: if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled && needsLayout()) Missing parens in function call
6 years, 6 months ago (2014-05-28 08:55:50 UTC) #5
Xianzhu
https://codereview.chromium.org/298973011/diff/40001/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/298973011/diff/40001/Source/core/rendering/RenderObject.cpp#newcode2074 Source/core/rendering/RenderObject.cpp:2074: if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled && needsLayout()) On 2014/05/28 08:55:51, esprehn wrote: ...
6 years, 6 months ago (2014-05-28 16:56:26 UTC) #6
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 6 months ago (2014-05-28 16:56:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/298973011/60001
6 years, 6 months ago (2014-05-28 16:57:03 UTC) #8
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 6 months ago (2014-05-28 18:30:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/298973011/80001
6 years, 6 months ago (2014-05-28 18:30:55 UTC) #10
commit-bot: I haz the power
Change committed as 174989
6 years, 6 months ago (2014-05-28 20:31:26 UTC) #11
Alexander Potapenko
6 years, 6 months ago (2014-05-29 13:33:25 UTC) #12
Message was sent while issue was closed.
On 2014/05/28 20:31:26, I haz the power (commit-bot) wrote:
> Change committed as 174989
You must have supplied the wrond bug id.

Powered by Google App Engine
This is Rietveld 408576698