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

Issue 164553004: Convert LayoutState/LayoutStateMaintainer/LayoutStateDisabler to references (Closed)

Created:
6 years, 10 months ago by atreat
Modified:
6 years, 10 months ago
CC:
blink-reviews, Manuel Rego, fs, eric.carlson_apple.com, rwlbuis, krit, chromiumbugtracker_adobe.com, bemjb+rendering_chromium.org, dsinclair, jchaffraix+rendering, pdr., mstensho+blink_opera.com, jfernandez, zoltan1, eae+blinkwatch, philipj_slow, feature-media-reviews_chromium.org, gyuyoung.kim_webkit.org, svillar, leviw+renderwatch, blink-layers+watch_chromium.org, ed+blinkwatch_opera.com, f(malita), Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Convert LayoutState/LayoutStateMaintainer/LayoutStateDisabler to references Convert LayoutState/LayoutStateMaintainer/LayoutStateDisabler to references when possible. This is very much in the same spirit as r159391 in WebKit, but goes a little further in converting to references where possible. I've also taken the opportunity to convert LayoutStateDisabler to take a RenderObject instead of the view. Also, FrameView gets a new RAII class to simplify code in performLayout. BUG=None Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167724

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -137 lines) Patch
M Source/core/frame/FrameView.h View 1 2 chunks +1 line, -1 line 0 comments Download
M Source/core/frame/FrameView.cpp View 1 3 chunks +28 lines, -13 lines 0 comments Download
M Source/core/rendering/LayoutState.h View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/LayoutState.cpp View 7 chunks +28 lines, -28 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.cpp View 1 6 chunks +6 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderDeprecatedFlexibleBox.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderEmbeddedObject.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFlexibleBox.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFlowThread.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFlowThread.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderGrid.cpp View 1 chunk +1 line, -1 line 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 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderLayer.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 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderMedia.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderMediaControlElements.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTable.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderTableRow.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderTableSection.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderVTTCue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderView.h View 11 chunks +40 lines, -43 lines 0 comments Download
M Source/core/rendering/RenderView.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
atreat
6 years, 10 months ago (2014-02-21 21:35:17 UTC) #1
esprehn
rslgtm, references are so ugly :( *this
6 years, 10 months ago (2014-02-21 22:00:21 UTC) #2
atreat
The CQ bit was checked by adam.treat@samsung.com
6 years, 10 months ago (2014-02-24 16:31:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/164553004/1
6 years, 10 months ago (2014-02-24 16:31:58 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-24 16:32:12 UTC) #5
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/RenderEmbeddedObject.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-24 16:32:12 UTC) #6
atreat
The CQ bit was checked by adam.treat@samsung.com
6 years, 10 months ago (2014-02-24 16:50:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/164553004/150001
6 years, 10 months ago (2014-02-24 16:50:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/164553004/150001
6 years, 10 months ago (2014-02-25 01:00:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/164553004/150001
6 years, 10 months ago (2014-02-25 05:15:34 UTC) #10
commit-bot: I haz the power
6 years, 10 months ago (2014-02-25 06:19:56 UTC) #11
Message was sent while issue was closed.
Change committed as 167724

Powered by Google App Engine
This is Rietveld 408576698