diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 10:22:43 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 12:36:28 +0000 |
commit | 271a6c3487a14599023a9106329505597638d793 (patch) | |
tree | e040d58ffc86c1480b79ca8528020ca9ec919bf8 /chromium/third_party/blink/renderer/core/dom/pseudo_element.cc | |
parent | 7b2ffa587235a47d4094787d72f38102089f402a (diff) | |
download | qtwebengine-chromium-271a6c3487a14599023a9106329505597638d793.tar.gz |
BASELINE: Update Chromium to 77.0.3865.59
Change-Id: I1e89a5f3b009a9519a6705102ad65c92fe736f21
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/dom/pseudo_element.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/dom/pseudo_element.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/dom/pseudo_element.cc b/chromium/third_party/blink/renderer/core/dom/pseudo_element.cc index 2f1cd6bcec9..ad19f70133b 100644 --- a/chromium/third_party/blink/renderer/core/dom/pseudo_element.cc +++ b/chromium/third_party/blink/renderer/core/dom/pseudo_element.cc @@ -31,13 +31,13 @@ #include "third_party/blink/renderer/core/dom/element_rare_data.h" #include "third_party/blink/renderer/core/dom/first_letter_pseudo_element.h" #include "third_party/blink/renderer/core/dom/node_computed_style.h" -#include "third_party/blink/renderer/core/frame/use_counter.h" #include "third_party/blink/renderer/core/layout/generated_children.h" #include "third_party/blink/renderer/core/layout/layout_object.h" #include "third_party/blink/renderer/core/layout/layout_quote.h" #include "third_party/blink/renderer/core/probe/core_probes.h" #include "third_party/blink/renderer/core/style/computed_style.h" #include "third_party/blink/renderer/core/style/content_data.h" +#include "third_party/blink/renderer/platform/instrumentation/use_counter.h" namespace blink { @@ -142,7 +142,7 @@ void PseudoElement::Dispose() { PseudoElement::AttachLayoutTreeScope::AttachLayoutTreeScope( PseudoElement* element) : element_(element) { - if (ComputedStyle* style = element->MutableComputedStyle()) { + if (const ComputedStyle* style = element->GetComputedStyle()) { if (style->Display() == EDisplay::kContents) { original_style_ = style; element->SetComputedStyle(element->LayoutStyleForDisplayContents(*style)); @@ -172,7 +172,7 @@ void PseudoElement::AttachLayoutTree(AttachContext& context) { DCHECK(layout_object->Parent()); DCHECK(CanHaveGeneratedChildren(*layout_object->Parent())); - ComputedStyle& style = layout_object->MutableStyleRef(); + const ComputedStyle& style = layout_object->StyleRef(); if (style.StyleType() != kPseudoIdBefore && style.StyleType() != kPseudoIdAfter) return; |