diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-05-20 09:47:09 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-06-07 11:15:42 +0000 |
commit | 189d4fd8fad9e3c776873be51938cd31a42b6177 (patch) | |
tree | 6497caeff5e383937996768766ab3bb2081a40b2 /chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_pattern.h | |
parent | 8bc75099d364490b22f43a7ce366b366c08f4164 (diff) | |
download | qtwebengine-chromium-189d4fd8fad9e3c776873be51938cd31a42b6177.tar.gz |
BASELINE: Update Chromium to 90.0.4430.221
Change-Id: Iff4d9d18d2fcf1a576f3b1f453010f744a232920
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_pattern.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_pattern.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_pattern.h b/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_pattern.h index 4566993fe3d..62288372428 100644 --- a/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_pattern.h +++ b/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_pattern.h @@ -59,24 +59,23 @@ class LayoutSVGResourcePattern final : public LayoutSVGResourcePaintServer { } private: + void WillBeDestroyed() override; + void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; + + bool FindCycleFromSelf() const override; std::unique_ptr<PatternData> BuildPatternData( const FloatRect& object_bounding_box); sk_sp<PaintRecord> AsPaintRecord(const FloatSize&, const AffineTransform&) const; - const LayoutSVGResourceContainer* ResolveContentElement() const; - - bool should_collect_pattern_attributes_ : 1; + mutable bool should_collect_pattern_attributes_ : 1; Persistent<PatternAttributesWrapper> attributes_wrapper_; - PatternAttributes& MutableAttributes() { - NOT_DESTROYED(); - return attributes_wrapper_->Attributes(); - } const PatternAttributes& Attributes() const { NOT_DESTROYED(); return attributes_wrapper_->Attributes(); } + const PatternAttributes& EnsureAttributes() const; // FIXME: we can almost do away with this per-object map, but not quite: the // tile size can be relative to the client bounding box, and it gets captured |