[webkit-changes] [WebKit/WebKit] b4c8d6: ASSERT under PluginView::paint() since it unnecess...

Abrar Rahman Protyasha noreply at github.com
Thu Sep 26 08:01:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b4c8d6d158c813924cfebbf9a651fbd4e9f2c8a0
      https://github.com/WebKit/WebKit/commit/b4c8d6d158c813924cfebbf9a651fbd4e9f2c8a0
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M Source/WebKit/WebProcess/Plugins/PluginView.cpp

  Log Message:
  -----------
  ASSERT under PluginView::paint() since it unnecessarily accesses a platform context from DisplayListRecorder
https://bugs.webkit.org/show_bug.cgi?id=280357
rdar://136710610

Reviewed by Wenson Hsieh.

The callee rightfully asserts since it does not have a platform context,
so we address the issue by making the caller query for the presence of a
platform context, rather than directly accessing it, which is a proxy
"has" check anyway.

* Source/WebKit/WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::paint):

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