Add pointer to document to QSvgExtraStates


It's supposed to replace the slow calls to QSvgNode::document().

Pick-to: 6.12
Change-Id: I9e9be736d22dbe31c1a7d18e3938b024c0fcd43c
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit7d53158758fd5313ccbf64fe68f538ef4dd4a12e
parentdbc7d08743248447b48bf7528e7bc119c5604707
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeTue, 1 Sep 2026 12:11:18 +0000