[webkit-changes] [WebKit/WebKit] b05230: ASSERT when asking DisplayListRecorder for a platf...

Tim Horton noreply at github.com
Wed Aug 21 17:27:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b05230536f21ec2d6b2c35ecfa91a397519f4b34
      https://github.com/WebKit/WebKit/commit/b05230536f21ec2d6b2c35ecfa91a397519f4b34
  Author: Tim Horton <thorton at apple.com>
  Date:   2024-08-21 (Wed, 21 Aug 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.h
    M Source/WebCore/platform/mac/ScrollbarThemeMac.mm

  Log Message:
  -----------
  ASSERT when asking DisplayListRecorder for a platform context
https://bugs.webkit.org/show_bug.cgi?id=278453
rdar://134401657

Reviewed by Abrar Rahman Protyasha.

* Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.h:
Bug 278420 would have been much quicker to debug if we asserted when illegally
asking DisplayListRecorder for a platform context. So, do so!

* Source/WebCore/platform/mac/ScrollbarThemeMac.mm:
(WebCore::ScrollbarThemeMac::paint):
Instead of asking for a platform context to decide whether we can have one, ask if we can have one!

Canonical link: https://commits.webkit.org/282593@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