Changeset 163668 in webkit


Ignore:
Timestamp:
Feb 7, 2014 5:10:52 PM (10 years ago)
Author:
benjamin@webkit.org
Message:

[WK2] The WebPageProxy's copy of pageScaleFactor is not update when the scale is changed from the viewport configuration
https://bugs.webkit.org/show_bug.cgi?id=128415

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-02-07
Reviewed by Simon Fraser.

  • WebProcess/WebPage/ios/WebPageIOS.mm:

(WebKit::WebPage::viewportConfigurationChanged):
The scale needs to be updated through WebPage::scalePage().

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r163666 r163668  
     12014-02-07  Benjamin Poulain  <bpoulain@apple.com>
     2
     3        [WK2] The WebPageProxy's copy of pageScaleFactor is not update when the scale is changed from the viewport configuration
     4        https://bugs.webkit.org/show_bug.cgi?id=128415
     5
     6        Reviewed by Simon Fraser.
     7
     8        * WebProcess/WebPage/ios/WebPageIOS.mm:
     9        (WebKit::WebPage::viewportConfigurationChanged):
     10        The scale needs to be updated through WebPage::scalePage().
     11
    1122014-02-07  Tim Horton  <timothy_horton@apple.com>
    213
  • trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm

    r163515 r163668  
    998998        scale = m_viewportConfiguration.initialScale();
    999999
    1000     m_page->setPageScaleFactor(scale, m_page->mainFrame().view()->scrollPosition());
     1000    scalePage(scale, m_page->mainFrame().view()->scrollPosition());
    10011001}
    10021002
Note: See TracChangeset for help on using the changeset viewer.