mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1820757 - SVGImageFrame::NotifySVGChanged should not rely on the base class implementation but instead do nothing at all r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D171856
This commit is contained in:
parent
86dbf59d2b
commit
60ec046ced
@ -824,6 +824,11 @@ uint16_t SVGImageFrame::GetHitTestFlags() {
|
||||
return flags;
|
||||
}
|
||||
|
||||
void SVGImageFrame::NotifySVGChanged(uint32_t aFlags) {
|
||||
MOZ_ASSERT(aFlags & (TRANSFORM_CHANGED | COORD_CONTEXT_CHANGED),
|
||||
"Invalidation logic may need adjusting");
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGImageListener implementation
|
||||
|
||||
|
@ -59,6 +59,7 @@ class SVGImageFrame final : public SVGGeometryFrame, public nsIReflowCallback {
|
||||
const nsIntRect* aDirtyRect = nullptr) override;
|
||||
nsIFrame* GetFrameForPoint(const gfxPoint& aPoint) override;
|
||||
void ReflowSVG() override;
|
||||
void NotifySVGChanged(uint32_t aFlags) override;
|
||||
|
||||
// SVGGeometryFrame methods:
|
||||
uint16_t GetHitTestFlags() override;
|
||||
|
Loading…
Reference in New Issue
Block a user