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

Issue 280633002: Rename RenderObject::setNeedsLayout to setNeedsLayoutAndFullRepaint (Closed)

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

Description

Rename RenderObject::setNeedsLayout to setNeedsLayoutAndFullRepaint As we do full repaint on selfNeedsLayout, this renaming makes the requirement explicit and into opting-in style. After this, we can - add opting-out-repaint version of setNeedsLayout; - change setNeedsLayoutForcingRepaint calls to the new setNeedsLayout if repaint is not needed. BUG=358460 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174329

Patch Set 1 : #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -98 lines) Patch
M Source/core/dom/Element.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/FrameView.cpp View 1 5 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/HTMLFrameSetElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLTableColElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLTextAreaElement.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/forms/NumberInputType.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/RangeInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/SliderThumbElement.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/FastTextAutosizer.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 6 chunks +10 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBlockLineLayout.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderCounter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFieldset.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFlowThread.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFrameSet.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderFullScreen.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderHTMLCanvas.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderImage.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 6 chunks +8 lines, -8 lines 0 comments Download
M Source/core/rendering/RenderLayerModelObject.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderListBox.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderListItem.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderListMarker.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderMarquee.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderMenuList.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderObjectChildList.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderReplaced.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderRubyBase.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderTable.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTableCell.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTableCol.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTableSection.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderText.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderTextControlSingleLine.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderVideo.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/SubtreeLayoutScope.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGInlineText.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResource.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceContainer.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGClipPathElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFilterElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGGradientElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGMarkerElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGMaskElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGPatternElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGSVGElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Xianzhu
6 years, 7 months ago (2014-05-12 17:54:16 UTC) #1
Xianzhu
6 years, 7 months ago (2014-05-19 20:57:07 UTC) #2
esprehn
What's the new method? As is this change seems to make things worse.
6 years, 7 months ago (2014-05-19 21:06:02 UTC) #3
Xianzhu
On 2014/05/19 21:06:02, esprehn wrote: > What's the new method? As is this change seems ...
6 years, 7 months ago (2014-05-19 21:11:31 UTC) #4
esprehn
On 2014/05/19 21:11:31, Xianzhu wrote: > On 2014/05/19 21:06:02, esprehn wrote: > > What's the ...
6 years, 7 months ago (2014-05-19 21:14:27 UTC) #5
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 7 months ago (2014-05-19 21:24:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/280633002/60001
6 years, 7 months ago (2014-05-19 21:25:06 UTC) #7
eseidel
Why does a caller ever want to force both layout and repaint at the same ...
6 years, 7 months ago (2014-05-19 21:39:49 UTC) #8
Xianzhu
On 2014/05/19 21:39:49, eseidel wrote: > Why does a caller ever want to force both ...
6 years, 7 months ago (2014-05-19 21:44:35 UTC) #9
eseidel
My belief is that although there may be callers who want this repaint behavior today, ...
6 years, 7 months ago (2014-05-19 22:09:39 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-19 22:59:32 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 00:13:50 UTC) #12
Message was sent while issue was closed.
Change committed as 174329

Powered by Google App Engine
This is Rietveld 408576698