From 32f5a1c56531e4210bc4cf8d8c7825d66e081888 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 18 Nov 2020 16:35:47 +0100 Subject: BASELINE: Update Chromium to 87.0.4280.67 Change-Id: Ib157360be8c2ffb2c73125751a89f60e049c1d54 Reviewed-by: Allan Sandfeld Jensen --- .../blink/renderer/core/layout/layout_list_item.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'chromium/third_party/blink/renderer/core/layout/layout_list_item.h') diff --git a/chromium/third_party/blink/renderer/core/layout/layout_list_item.h b/chromium/third_party/blink/renderer/core/layout/layout_list_item.h index 2442bba3685..3c35701c2a8 100644 --- a/chromium/third_party/blink/renderer/core/layout/layout_list_item.h +++ b/chromium/third_party/blink/renderer/core/layout/layout_list_item.h @@ -38,14 +38,21 @@ class LayoutListItem final : public LayoutBlockFlow { bool IsEmpty() const; LayoutObject* Marker() const { + NOT_DESTROYED(); Element* list_item = To(GetNode()); return list_item->PseudoElementLayoutObject(kPseudoIdMarker); } - ListItemOrdinal& Ordinal() { return ordinal_; } + ListItemOrdinal& Ordinal() { + NOT_DESTROYED(); + return ordinal_; + } void OrdinalValueChanged(); - const char* GetName() const override { return "LayoutListItem"; } + const char* GetName() const override { + NOT_DESTROYED(); + return "LayoutListItem"; + } void RecalcVisualOverflow() override; @@ -53,6 +60,7 @@ class LayoutListItem final : public LayoutBlockFlow { private: bool IsOfType(LayoutObjectType type) const override { + NOT_DESTROYED(); return type == kLayoutObjectListItem || LayoutBlockFlow::IsOfType(type); } -- cgit v1.2.1