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

Unified Diff: third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp

Issue 2713673005: client-goodbye
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp b/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp
index 362fe64a3d10b40217ac2a45c79c14e0e4b9d99d..f01e7c5ac2cb5a67a200c1fa383edf966f5193e2 100644
--- a/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp
@@ -50,10 +50,13 @@ void SVGForeignObjectPainter::paint(const PaintInfo& paintInfo) {
// apply clip manually. See LayoutSVGBlock::allowsOverflowClip() for details.
Optional<FloatClipRecorder> clipRecorder;
if (SVGLayoutSupport::isOverflowHidden(&m_layoutSVGForeignObject)) {
- clipRecorder.emplace(paintInfoBeforeFiltering.context,
- m_layoutSVGForeignObject,
- paintInfoBeforeFiltering.phase,
- FloatRect(m_layoutSVGForeignObject.frameRect()));
+ clipRecorder.emplace(
+ paintInfoBeforeFiltering.context, paintInfoBeforeFiltering.phase,
+ FloatRect(m_layoutSVGForeignObject.frameRect()),
+ m_layoutSVGForeignObject.visualRect(),
+ m_layoutSVGForeignObject.debugName(),
+ m_layoutSVGForeignObject
+ .paintedOutputOfObjectHasNoEffectRegardlessOfSize());
}
SVGPaintContext paintContext(m_layoutSVGForeignObject,
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGPaintContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698