⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 118615 in webkit


Ignore:
Timestamp:
May 26, 2012, 3:08:43 PM (14 years ago)
Author:
mjs@apple.com
Message:

REGRESSION (r116720): Subframe PDF scrolls extremely slowly
https://bugs.webkit.org/show_bug.cgi?id=87557
<rdar://problem/11499408>

Reviewed by Anders Carlsson.

It's not possible to make an automated test for this.

  • WebProcess/Plugins/PDF/BuiltInPDFView.mm:

(WebKit::BuiltInPDFView::wantsWheelEvents): Return true instead of false and delete
misleading comment. While the built-in PDF view would get added to the set of scrollable
areas anyway, there are some code paths that check wantsWheelEvents explicitly, so it seems
necessary to reutrn true.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r118560 r118615  
     12012-05-25  Maciej Stachowiak  <mjs@apple.com>
     2
     3        REGRESSION (r116720): Subframe PDF scrolls extremely slowly
     4        https://bugs.webkit.org/show_bug.cgi?id=87557
     5        <rdar://problem/11499408>
     6
     7        Reviewed by Anders Carlsson.
     8       
     9        It's not possible to make an automated test for this.
     10
     11        * WebProcess/Plugins/PDF/BuiltInPDFView.mm:
     12        (WebKit::BuiltInPDFView::wantsWheelEvents): Return true instead of false and delete
     13        misleading comment. While the built-in PDF view would get added to the set of scrollable
     14        areas anyway, there are some code paths that check wantsWheelEvents explicitly, so it seems
     15        necessary to reutrn true.
     16
    1172012-05-25  Brady Eidson  <beidson@apple.com>
    218
  • trunk/Source/WebKit2/WebProcess/Plugins/PDF/BuiltInPDFView.mm

    r116720 r118615  
    474474bool BuiltInPDFView::wantsWheelEvents()
    475475{
    476     // We return false here even though we do want wheel events, because we add ourselves to the scrollable area set in updateScrollbars().
    477     return false;
     476    return true;
    478477}
    479478
Note: See TracChangeset for help on using the changeset viewer.