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

Issue 328533003: Fix RenderObject::repaintRectangle in situations when the render object is not a layer and is squas… (Closed)

Created:
6 years, 6 months ago by chrishtr
Modified:
6 years, 6 months ago
CC:
abarth-chromium, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Visibility:
Public.

Description

Fix RenderObject::repaintRectangle in situations when the render object is not a layer and is squashed. Previously it was recording a repaint rect in the coordinate space of the enclosing *squashed* layer, not the coordinate space of the *squashing layer* that the squashed layer paints into. BUG=382129 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175843

Patch Set 1 #

Patch Set 2 : Add doctype. #

Patch Set 3 : Reverted extra code. #

Patch Set 4 : Added test result. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -20 lines) Patch
A LayoutTests/compositing/squashing/repaint-squashed-layer-in-rect.html View 1 1 chunk +44 lines, -0 lines 0 comments Download
A + LayoutTests/compositing/squashing/repaint-squashed-layer-in-rect-expected.txt View 1 2 3 2 chunks +9 lines, -8 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
chrishtr
I missed this corner case in crrev.com/309673006. Will do a survey of all call sites ...
6 years, 6 months ago (2014-06-10 00:06:18 UTC) #1
leviw_travelin_and_unemployed
lgtm
6 years, 6 months ago (2014-06-10 00:16:45 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/328533003/60001
6 years, 6 months ago (2014-06-10 00:17:38 UTC) #3
commit-bot: I haz the power
6 years, 6 months ago (2014-06-10 01:22:35 UTC) #4
Message was sent while issue was closed.
Change committed as 175843

Powered by Google App Engine
This is Rietveld 408576698