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

Issue 555213002: Convert RenderFlexibleBox code to use RenderBox references (Closed)

Created:
6 years, 3 months ago by Sunil Ratnu
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Convert RenderFlexibleBox code to use RenderBox references RenderFlexibleBox has several methods that take pointers to RenderBox instances but those methods assumes that the objects will never be NULL. We should replace them by references. This makes the caller code safer. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181787

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -70 lines) Patch
M Source/core/rendering/RenderFlexibleBox.h View 3 chunks +12 lines, -12 lines 0 comments Download
M Source/core/rendering/RenderFlexibleBox.cpp View 23 chunks +58 lines, -58 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Sunil Ratnu
I will completely convert the code to use references soon in a later patch. Please ...
6 years, 3 months ago (2014-09-09 20:08:01 UTC) #2
cbiesinger
lgtm
6 years, 3 months ago (2014-09-09 20:40:46 UTC) #3
Sunil Ratnu
@leviw: owner's LGTM required. Please review this. Thanks!
6 years, 3 months ago (2014-09-10 02:38:33 UTC) #4
Sunil Ratnu
For reference: Here's the second part of this change: https://codereview.chromium.org/560583003/
6 years, 3 months ago (2014-09-10 08:56:52 UTC) #6
esprehn
sigh, references make all the call sites so ugly with stars :( lgtm
6 years, 3 months ago (2014-09-11 01:12:58 UTC) #7
Sunil Ratnu
On 2014/09/11 01:12:58, esprehn wrote: > sigh, references make all the call sites so ugly ...
6 years, 3 months ago (2014-09-11 02:48:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/555213002/1
6 years, 3 months ago (2014-09-11 02:48:55 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 03:35:11 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 181787

Powered by Google App Engine
This is Rietveld 408576698