diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-20 13:40:20 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-22 12:41:23 +0000 |
commit | 7961cea6d1041e3e454dae6a1da660b453efd238 (patch) | |
tree | c0eeb4a9ff9ba32986289c1653d9608e53ccb444 /chromium/third_party/blink/renderer/core/paint/svg_foreign_object_painter.cc | |
parent | b7034d0803538058e5c9d904ef03cf5eab34f6ef (diff) | |
download | qtwebengine-chromium-7961cea6d1041e3e454dae6a1da660b453efd238.tar.gz |
BASELINE: Update Chromium to 78.0.3904.130
Change-Id: If185e0c0061b3437531c97c9c8c78f239352a68b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/paint/svg_foreign_object_painter.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/paint/svg_foreign_object_painter.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/paint/svg_foreign_object_painter.cc b/chromium/third_party/blink/renderer/core/paint/svg_foreign_object_painter.cc index 5312cee1164..4d7405fcc7c 100644 --- a/chromium/third_party/blink/renderer/core/paint/svg_foreign_object_painter.cc +++ b/chromium/third_party/blink/renderer/core/paint/svg_foreign_object_painter.cc @@ -54,6 +54,7 @@ void SVGForeignObjectPainter::Paint(const PaintInfo& paint_info) { PaintInfo paint_info_before_filtering(paint_info); ScopedSVGPaintState paint_state(layout_svg_foreign_object_, paint_info_before_filtering); + if (paint_state.GetPaintInfo().phase == PaintPhase::kForeground && !paint_state.ApplyClipMaskAndFilterIfNecessary()) return; |