[webkit-changes] [WebKit/WebKit] 17535c: [UnifiedPDF] PluginView::contentScaleFactor report...

Abrar Rahman Protyasha noreply at github.com
Mon Feb 26 14:22:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 17535c0db172f38731ed196a77c408b594283519
      https://github.com/WebKit/WebKit/commit/17535c0db172f38731ed196a77c408b594283519
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

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

  Log Message:
  -----------
  [UnifiedPDF] PluginView::contentScaleFactor reports an incorrect content scale factor
https://bugs.webkit.org/show_bug.cgi?id=270077
rdar://123624248

Reviewed by Tim Horton.

This method plumbs out the result of the plugin's scaleFactor() method,
and not of its namesake. This patch fixes that.

This patch thus addresses the wrongly sized lookup highlights on force
click, which were ill-sized because we generated the wrong TI data in
WebPage::dictionaryPopupInfoForSelectionInPDFPlugin.

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

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