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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.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/LayoutSVGPath.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp
index 4adadf94e71f3646a0d0bb8492aba3912c38ec32..0f9da5f0faa9cb33b9195bb48706ff984367096c 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp
@@ -51,6 +51,8 @@ void LayoutSVGPath::updateShapeFromElement()
processMarkerPositions();
m_strokeBoundingBox = calculateUpdatedStrokeBoundingBox();
+ if (element())
+ element()->setNeedsResizeObserverUpdate();
}
FloatRect LayoutSVGPath::hitTestStrokeBoundingBox() const

Powered by Google App Engine
This is Rietveld 408576698