Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 356c9524a279df71d84162cb6e3192daaa0910b6
      
https://github.com/WebKit/WebKit/commit/356c9524a279df71d84162cb6e3192daaa0910b6
  Author: Alan Baradlay <[email protected]>
  Date:   2024-04-28 (Sun, 28 Apr 2024)

  Changed paths:
    M 
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp
    M 
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.h
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h

  Log Message:
  -----------
  [Debug] inspector/console/console-oom.html is flaky crash
https://bugs.webkit.org/show_bug.cgi?id=273363

Reviewed by Antti Koivisto.

Releasing caches due to OOM makes previously computed damage position invalid. 
Let's make it point to the beginning of the content.

* 
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
(WebCore::Layout::InlineInvalidation::resetInlineDamage):
* 
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::releaseCaches):
(WebCore::LayoutIntegration::LineLayout::releaseCachesAndResetDamage):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to