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

Changeset 113556 in webkit


Ignore:
Timestamp:
Apr 8, 2012, 10:25:55 PM (14 years ago)
Author:
mitz@apple.com
Message:

[mac] REGRESSION (r113467): Some canvas tests are failing in WebKit1 when run after compositing/tiled-layers-hidpi.html
https://bugs.webkit.org/show_bug.cgi?id=83453

Reviewed by Sam Weinig.

  • WebView/WebView.mm:

(-[WebView _setCustomBackingScaleFactor:]): When the scale factor parameter was 0, meaning
no custom scale factor, this method was setting the Page scale factor to 0, and that value
was used by canvas. Changed it to correctly set the Page scale factor back to the device
scale factor.

Location:
trunk/Source/WebKit/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/mac/ChangeLog

    r113518 r113556  
     12012-04-08  Dan Bernstein  <mitz@apple.com>
     2
     3        [mac] REGRESSION (r113467): Some canvas tests are failing in WebKit1 when run after compositing/tiled-layers-hidpi.html
     4        https://bugs.webkit.org/show_bug.cgi?id=83453
     5
     6        Reviewed by Sam Weinig.
     7
     8        * WebView/WebView.mm:
     9        (-[WebView _setCustomBackingScaleFactor:]): When the scale factor parameter was 0, meaning
     10        no custom scale factor, this method was setting the Page scale factor to 0, and that value
     11        was used by canvas. Changed it to correctly set the Page scale factor back to the device
     12        scale factor.
     13
    1142012-04-06  Alexey Proskuryakov  <ap@apple.com>
    215
  • trunk/Source/WebKit/mac/WebView/WebView.mm

    r113510 r113556  
    28892889
    28902890    if (oldScaleFactor != [self _deviceScaleFactor])
    2891         _private->page->setDeviceScaleFactor(customScaleFactor);
     2891        _private->page->setDeviceScaleFactor([self _deviceScaleFactor]);
    28922892}
    28932893
Note: See TracChangeset for help on using the changeset viewer.