Bug 141584 - REGRESSION: Page opens with enlarged font after visiting PDF, navigating back, then doing a process swap
Summary: REGRESSION: Page opens with enlarged font after visiting PDF, navigating back...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-13 17:38 PST by Beth Dakin
Modified: 2015-02-14 14:57 PST (History)
3 users (show)

See Also:


Attachments
Patch (7.33 KB, patch)
2015-02-13 17:42 PST, Beth Dakin
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Dakin 2015-02-13 17:38:30 PST
REGRESSION: Page opens with enlarged font after visiting PDF, navigating back, then doing a process swap
Comment 1 Beth Dakin 2015-02-13 17:42:07 PST
Created attachment 246562 [details]
Patch
Comment 2 Tim Horton 2015-02-13 17:47:22 PST
Comment on attachment 246562 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=246562&action=review

> Source/WebKit2/UIProcess/WebPageProxy.cpp:2830
>      // WebPageProxy's cache of the value can get out of sync (e.g. in the case where a
>      // plugin is handling page scaling itself) so we should reset it to the default
>      // for standard main frame loads.

I wonder if this comment means that this code is only needed in the plugin case and that therefore you don't need to reset m_pageScaleFactor. But I don't really remember.
Comment 3 Beth Dakin 2015-02-14 14:57:01 PST
Thanks Tim! http://trac.webkit.org/changeset/180115