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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGEllipse.cpp

Issue 2204503002: ResizeObserver pt6: integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore missing code that was blown away by rebase Created 4 years, 4 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/layout/svg/LayoutSVGEllipse.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGEllipse.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGEllipse.cpp
index a15610558d009bf4ecb53936b755034a89652cd6..b26166689ffd90513c6dee4bc3966a4544fe632c 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGEllipse.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGEllipse.cpp
@@ -74,6 +74,8 @@ void LayoutSVGEllipse::updateShapeFromElement()
m_strokeBoundingBox = m_fillBoundingBox;
if (style()->svgStyle().hasStroke())
m_strokeBoundingBox.inflate(strokeWidth() / 2);
+ if (element())
+ element()->setNeedsResizeObserverUpdate();
}
void LayoutSVGEllipse::calculateRadiiAndCenter()

Powered by Google App Engine
This is Rietveld 408576698