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

Issue 2056303002: [Layout API] Use Document::layoutViewItem() in ViewportStyleResolver (Closed)

Created:
4 years, 6 months ago by pilgrim_google
Modified:
4 years, 5 months ago
Reviewers:
eae, rune, jsbell
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, jchaffraix+rendering, kenneth.christiansen, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rwlbuis, szager+layoutwatch_chromium.org, zoltan1, dgrogan
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Layout API] Use Document::layoutViewItem() in ViewportStyleResolver Document::layoutView() is deprecated and being removed soon. The replacement is Document::layoutViewItem(), which routes methods through the new block layout API. This change cascaded through several callers but eventually resolved with only addition to the block layout API: LayoutViewItem::viewportSizeForViewportUnits A few additional changes were required because LayoutViewItem has explicit constructors, so places where we were passing nullptr need to be wrapped in LayoutViewItem(nullptr) instead. There are no functional changes. BUG=499321 Committed: https://crrev.com/10dd9ce6cfeb62dfae62328130392186bffb9d6c Cr-Commit-Position: refs/heads/master@{#402962}

Patch Set 1 #

Total comments: 2

Patch Set 2 : changed both declarations to const ref as per rune #

Messages

Total messages: 16 (7 generated)
pilgrim_google
4 years, 6 months ago (2016-06-10 14:21:04 UTC) #2
rune
lgtm https://codereview.chromium.org/2056303002/diff/1/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h File third_party/WebKit/Source/core/css/CSSToLengthConversionData.h (right): https://codereview.chromium.org/2056303002/diff/1/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h#newcode74 third_party/WebKit/Source/core/css/CSSToLengthConversionData.h:74: explicit ViewportSize(const LayoutViewItem); Why not const ref? Is ...
4 years, 6 months ago (2016-06-10 16:38:49 UTC) #4
eae
LGTM but please address runes comments before landing.
4 years, 6 months ago (2016-06-21 09:20:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2056303002/20001
4 years, 5 months ago (2016-06-29 19:07:01 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/236844)
4 years, 5 months ago (2016-06-29 20:19:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2056303002/20001
4 years, 5 months ago (2016-06-29 20:31:48 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-06-29 22:35:53 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-29 22:36:28 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 22:37:34 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/10dd9ce6cfeb62dfae62328130392186bffb9d6c
Cr-Commit-Position: refs/heads/master@{#402962}

Powered by Google App Engine
This is Rietveld 408576698