[webkit-changes] [WebKit/WebKit] 56c6c1: [IFC][Invalidation] Do not mutate InlineDamage dur...

Alan Baradlay noreply at github.com
Wed Jan 15 10:49:32 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56c6c18b5dbc5421a4bc2c69c24c81abe8e81d51
      https://github.com/WebKit/WebKit/commit/56c6c18b5dbc5421a4bc2c69c24c81abe8e81d51
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2025-01-15 (Wed, 15 Jan 2025)

  Changed paths:
    M Source/WebCore/rendering/RenderVideo.cpp
    M Source/WebCore/rendering/RenderVideo.h

  Log Message:
  -----------
  [IFC][Invalidation] Do not mutate InlineDamage during layout
https://bugs.webkit.org/show_bug.cgi?id=285965
<rdar://142778323>

Reviewed by Antti Koivisto.

RenderVideo, for some unknown reason calls updateIntrinsicSize() during layout which triggers
inline invalidation (while running inline layout).

* Source/WebCore/rendering/RenderVideo.cpp:
(WebCore::RenderVideo::intrinsicSizeChanged):
(WebCore::RenderVideo::updateIntrinsicSize):
(WebCore::RenderVideo::imageChanged):
(WebCore::RenderVideo::updateFromElement):
(WebCore::RenderVideo::updatePlayer):
(WebCore::RenderVideo::invalidateLineLayout):
* Source/WebCore/rendering/RenderVideo.h:

Canonical link: https://commits.webkit.org/288952@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list