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

Issue 711493004: Remove unnecessary paintContainer parameter from addFocusRingRects (Closed)

Created:
6 years, 1 month ago by Xianzhu
Modified:
6 years, 1 month ago
Reviewers:
dsinclair
CC:
blink-reviews, blink-reviews-rendering, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, fs, blink-layers+watch_chromium.org, ed+blinkwatch_opera.com, krit, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, Stephen Chennney, rwlbuis, pdr+svgwatchlist_chromium.org
Project:
blink
Visibility:
Public.

Description

Remove unnecessary paintContainer parameter from addFocusRingRects - Remove the parameter; - Move RenderObject::addChildFocusRingRects into RenderLayerModelObject so that the layerQuads can be mapped by 'this' without the help of paintContainer; - Don't check paintInvalidationContainer in RenderInline::addFocusRingRects. The original check and comment don't make sense. The element having outline:auto invalidates and paints the whole focus ring. The area of the whole focus ring is included in the visual overflow of the element. TEST=existing focus-ring and outline:auto tests Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185242

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -55 lines) Patch
M Source/core/paint/ObjectPainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBlock.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderBox.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderInline.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 chunk +4 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderLayerModelObject.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerModelObject.cpp View 1 1 chunk +30 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 chunks +1 line, -3 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 chunks +2 lines, -28 lines 0 comments Download
M Source/core/rendering/RenderTextControl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTextControl.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGContainer.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGImage.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGImage.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGShape.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGShape.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Xianzhu
This is not of high priority. Not expecting it into M40.
6 years, 1 month ago (2014-11-06 20:03:34 UTC) #2
dsinclair
lgtm with nit. https://codereview.chromium.org/711493004/diff/1/Source/core/rendering/RenderLayerModelObject.cpp File Source/core/rendering/RenderLayerModelObject.cpp (right): https://codereview.chromium.org/711493004/diff/1/Source/core/rendering/RenderLayerModelObject.cpp#newcode219 Source/core/rendering/RenderLayerModelObject.cpp:219: if (current->isBox()) { if (!current->isBox()) { ...
6 years, 1 month ago (2014-11-06 23:56:22 UTC) #3
Xianzhu
https://codereview.chromium.org/711493004/diff/1/Source/core/rendering/RenderLayerModelObject.cpp File Source/core/rendering/RenderLayerModelObject.cpp (right): https://codereview.chromium.org/711493004/diff/1/Source/core/rendering/RenderLayerModelObject.cpp#newcode219 Source/core/rendering/RenderLayerModelObject.cpp:219: if (current->isBox()) { On 2014/11/06 23:56:22, dsinclair wrote: > ...
6 years, 1 month ago (2014-11-12 19:10:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/711493004/20001
6 years, 1 month ago (2014-11-12 19:17:06 UTC) #6
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 20:32:39 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 185242

Powered by Google App Engine
This is Rietveld 408576698