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

Issue 178473024: Convert some Shape code to use references (Closed)

Created:
6 years, 9 months ago by maheshkk
Modified:
6 years, 9 months ago
Reviewers:
adamk, rwlbuis
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Convert some Shape code to use references This change makes shapes implementation inline with webkit's. Also using references is lot safe for caller method and also removes extra null checks. Insprired by https://bugs.webkit.org/show_bug.cgi?id=124876 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168585

Patch Set 1 #

Patch Set 2 : Some more reference code #

Total comments: 2

Patch Set 3 : style changes #

Patch Set 4 : rebase with 185393015 #

Total comments: 6

Patch Set 5 : rebased patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -95 lines) Patch
M Source/core/rendering/FloatingObjects.cpp View 1 2 3 4 3 chunks +8 lines, -8 lines 0 comments Download
M Source/core/rendering/LayoutState.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBlock.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderBlockLineLayout.cpp View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderBox.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderView.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/line/BreakingContextInlineHeaders.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/line/LineWidth.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/shapes/ShapeInfo.h View 1 2 3 4 6 chunks +21 lines, -21 lines 0 comments Download
M Source/core/rendering/shapes/ShapeInfo.cpp View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M Source/core/rendering/shapes/ShapeInsideInfo.h View 1 2 3 4 3 chunks +6 lines, -7 lines 0 comments Download
M Source/core/rendering/shapes/ShapeInsideInfo.cpp View 1 2 3 4 4 chunks +9 lines, -9 lines 0 comments Download
M Source/core/rendering/shapes/ShapeOutsideInfo.h View 1 2 3 4 2 chunks +7 lines, -8 lines 0 comments Download
M Source/core/rendering/shapes/ShapeOutsideInfo.cpp View 1 2 3 4 4 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
maheshkk
PTAL
6 years, 9 months ago (2014-03-03 22:44:18 UTC) #1
maheshkk
PTAL
6 years, 9 months ago (2014-03-03 22:45:56 UTC) #2
rwlbuis
lgtm Have a look at the nits though, also you may need a rebase. https://codereview.chromium.org/178473024/diff/20001/Source/core/rendering/RenderBlock.h ...
6 years, 9 months ago (2014-03-04 14:21:13 UTC) #3
maheshkk
On 2014/03/04 14:21:13, rwlbuis wrote: > lgtm > > Have a look at the nits ...
6 years, 9 months ago (2014-03-04 16:28:33 UTC) #4
adamk
I didn't look at the whole patch, but I noticed a variety of places where ...
6 years, 9 months ago (2014-03-04 19:45:05 UTC) #5
maheshkk
On 2014/03/04 19:45:05, adamk wrote: Thanks Adam for comments. > I didn't look at the ...
6 years, 9 months ago (2014-03-04 19:58:23 UTC) #6
maheshkk
The CQ bit was checked by mahesh.kk@samsung.com
6 years, 9 months ago (2014-03-05 18:29:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mahesh.kk@samsung.com/178473024/80001
6 years, 9 months ago (2014-03-05 18:31:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mahesh.kk@samsung.com/178473024/80001
6 years, 9 months ago (2014-03-05 21:00:28 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 02:52:19 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel
6 years, 9 months ago (2014-03-06 02:52:20 UTC) #11
maheshkk
The CQ bit was checked by mahesh.kk@samsung.com
6 years, 9 months ago (2014-03-06 04:03:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mahesh.kk@samsung.com/178473024/80001
6 years, 9 months ago (2014-03-06 04:04:00 UTC) #13
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 07:52:30 UTC) #14
Message was sent while issue was closed.
Change committed as 168585

Powered by Google App Engine
This is Rietveld 408576698