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

Issue 1310473003: [Line Layout API] Add shim for Paint objects to access underlying LayoutObject (Closed)

Created:
5 years, 3 months ago by pilgrim_google
Modified:
5 years, 3 months ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[Line Layout API] Add shim for Paint objects to access underlying LayoutObject This CL allows us to remove another shim, InlineBox::deprecatedBoxModelObject, and clears the way for removing all direct LayoutObject access in core/line/. BUG=499321 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201274

Patch Set 1 #

Total comments: 5

Patch Set 2 : nits #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -16 lines) Patch
M Source/core/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/layout/api/LineLayoutItem.h View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/layout/line/InlineBox.h View 1 chunk +0 lines, -8 lines 0 comments Download
M Source/core/paint/InlineFlowBoxPainter.cpp View 7 chunks +10 lines, -8 lines 0 comments Download
A Source/core/paint/LineLayoutPaintShim.h View 1 1 chunk +25 lines, -0 lines 1 comment Download

Messages

Total messages: 20 (7 generated)
pilgrim_google
5 years, 3 months ago (2015-08-26 17:36:24 UTC) #2
leviw_travelin_and_unemployed
This seems like a completely reasonable approach to me. You may also want to run ...
5 years, 3 months ago (2015-08-26 17:54:04 UTC) #4
pilgrim_google
5 years, 3 months ago (2015-08-26 18:09:47 UTC) #5
ojan
lgtm
5 years, 3 months ago (2015-08-26 21:27:49 UTC) #6
ojan
I agree. This turned out to be pretty reasonable in the end. A good stop-gap ...
5 years, 3 months ago (2015-08-26 21:28:54 UTC) #7
pdr.
https://codereview.chromium.org/1310473003/diff/20001/Source/core/paint/LineLayoutPaintShim.h File Source/core/paint/LineLayoutPaintShim.h (right): https://codereview.chromium.org/1310473003/diff/20001/Source/core/paint/LineLayoutPaintShim.h#newcode14 Source/core/paint/LineLayoutPaintShim.h:14: // TODO(pilgrim): Remove this kludge once Paint objects have ...
5 years, 3 months ago (2015-08-26 21:32:18 UTC) #9
leviw_travelin_and_unemployed
On 2015/08/26 at 21:32:18, pdr wrote: > https://codereview.chromium.org/1310473003/diff/20001/Source/core/paint/LineLayoutPaintShim.h > File Source/core/paint/LineLayoutPaintShim.h (right): > > https://codereview.chromium.org/1310473003/diff/20001/Source/core/paint/LineLayoutPaintShim.h#newcode14 ...
5 years, 3 months ago (2015-08-26 21:41:42 UTC) #10
leviw_travelin_and_unemployed
On 2015/08/26 at 21:41:42, leviw OOO thru 9-9 )( wrote: > On 2015/08/26 at 21:32:18, ...
5 years, 3 months ago (2015-08-26 21:42:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310473003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310473003/20001
5 years, 3 months ago (2015-08-26 23:13:59 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/96240)
5 years, 3 months ago (2015-08-27 00:17:20 UTC) #16
pilgrim_google
wat
5 years, 3 months ago (2015-08-27 00:26:46 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310473003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310473003/20001
5 years, 3 months ago (2015-08-27 00:27:09 UTC) #19
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 01:22:34 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201274

Powered by Google App Engine
This is Rietveld 408576698