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

Issue 1460923003: [Line Layout API] Add nullptr constructors to all LineLayoutItem descendants (Closed)

Created:
5 years, 1 month ago by pilgrim_google
Modified:
5 years, 1 month ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Line Layout API] Add nullptr constructors to all LineLayoutItem descendants This came up in another CL ( https://codereview.chromium.org/1433253003/ ) where we needed to nullify a private LineLayoutText object and couldn't do the obvious m_lineLayoutText=nullptr solution. This CL will let anyone do the obvious thing and have it work properly, without casting or separate methods. BUG=499321 Committed: https://crrev.com/f85fc03a7ec41b34073d25044dc3495b266724a0 Cr-Commit-Position: refs/heads/master@{#360971}

Patch Set 1 #

Total comments: 1

Patch Set 2 : add explicit to all new constructors #

Messages

Total messages: 9 (2 generated)
pilgrim_google
5 years, 1 month ago (2015-11-19 21:49:17 UTC) #2
jsbell
https://codereview.chromium.org/1460923003/diff/1/third_party/WebKit/Source/core/layout/api/LineLayoutBlockFlow.h File third_party/WebKit/Source/core/layout/api/LineLayoutBlockFlow.h (right): https://codereview.chromium.org/1460923003/diff/1/third_party/WebKit/Source/core/layout/api/LineLayoutBlockFlow.h#newcode33 third_party/WebKit/Source/core/layout/api/LineLayoutBlockFlow.h:33: LineLayoutBlockFlow(std::nullptr_t) : LineLayoutBox(nullptr) { } Drive-by: can we add ...
5 years, 1 month ago (2015-11-19 22:06:40 UTC) #3
pilgrim_google
On 2015/11/19 at 22:06:40, jsbell wrote: > https://codereview.chromium.org/1460923003/diff/1/third_party/WebKit/Source/core/layout/api/LineLayoutBlockFlow.h > File third_party/WebKit/Source/core/layout/api/LineLayoutBlockFlow.h (right): > > https://codereview.chromium.org/1460923003/diff/1/third_party/WebKit/Source/core/layout/api/LineLayoutBlockFlow.h#newcode33 ...
5 years, 1 month ago (2015-11-20 14:46:09 UTC) #4
leviw_travelin_and_unemployed
lgtm
5 years, 1 month ago (2015-11-20 21:05:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460923003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460923003/20001
5 years, 1 month ago (2015-11-20 23:28:26 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-21 01:05:11 UTC) #8
commit-bot: I haz the power
5 years, 1 month ago (2015-11-21 01:06:18 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f85fc03a7ec41b34073d25044dc3495b266724a0
Cr-Commit-Position: refs/heads/master@{#360971}

Powered by Google App Engine
This is Rietveld 408576698