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

Issue 276583002: Fix const correctness of containerForRepaint (Closed)

Created:
6 years, 7 months ago by leviw_travelin_and_unemployed
Modified:
6 years, 7 months ago
CC:
blink-reviews, fs, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, abarth-chromium, blink-layers+watch_chromium.org, ed+blinkwatch_opera.com, krit, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, pdr., rwlbuis, Stephen Chennney, rune+blink
Visibility:
Public.

Description

Fix const correctness of containerForRepaint Working on https://codereview.chromium.org/264183002/ I ran into some const correctness issues with the fact that containerForRepaint returns a non-const pointer, despite repaint being a const operation. Fixing this before landing that patch. BUG=320139 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173585

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove const from repaintAfterLayoutIfNeeded #

Patch Set 3 : Fix LayoutRepainter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -17 lines) Patch
M Source/core/rendering/LayoutRepainter.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFrameSet.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayerRepainter.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayerRepainter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderObject.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderSelectionInfo.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderView.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
leviw_travelin_and_unemployed
Figured I'd start with this one.
6 years, 7 months ago (2014-05-07 22:42:48 UTC) #1
Julien - ping for review
lgtm https://codereview.chromium.org/276583002/diff/1/Source/core/rendering/RenderObject.h File Source/core/rendering/RenderObject.h (right): https://codereview.chromium.org/276583002/diff/1/Source/core/rendering/RenderObject.h#newcode831 Source/core/rendering/RenderObject.h:831: const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromRepaintContainer, const LayoutRect* ...
6 years, 7 months ago (2014-05-07 22:55:41 UTC) #2
leviw_travelin_and_unemployed
On 2014/05/07 22:55:41, Julien Chaffraix - PST wrote: > lgtm > > https://codereview.chromium.org/276583002/diff/1/Source/core/rendering/RenderObject.h > File ...
6 years, 7 months ago (2014-05-07 22:56:59 UTC) #3
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 7 months ago (2014-05-07 23:01:51 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/276583002/20001
6 years, 7 months ago (2014-05-07 23:02:36 UTC) #5
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 7 months ago (2014-05-07 23:55:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/276583002/40001
6 years, 7 months ago (2014-05-07 23:55:52 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-08 01:05:11 UTC) #8
Message was sent while issue was closed.
Change committed as 173585

Powered by Google App Engine
This is Rietveld 408576698