Bug 170156 - [iOS] Suppress page count recalc when setting a snapshot paper rect
Summary: [iOS] Suppress page count recalc when setting a snapshot paper rect
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andy Estes
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-03-27 18:52 PDT by Andy Estes
Modified: 2017-03-27 19:23 PDT (History)
2 users (show)

See Also:


Attachments
Patch (3.31 KB, patch)
2017-03-27 18:58 PDT, Andy Estes
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Estes 2017-03-27 18:52:53 PDT
[iOS] Suppress page count recalc when setting a snapshot paper rect
Comment 1 Andy Estes 2017-03-27 18:53:52 PDT
rdar://problem/30787872
Comment 2 Andy Estes 2017-03-27 18:58:27 PDT
Created attachment 305540 [details]
Patch
Comment 3 Tim Horton 2017-03-27 19:00:21 PDT
Comment on attachment 305540 [details]
Patch

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

> Source/WebKit2/UIProcess/_WKWebViewPrintFormatterInternal.h:32
>  - (CGRect)_pageContentRect:(BOOL)firstPage;
> +- (void)_setNeedsRecalc;

These should be in an SPI header.
Comment 4 Andy Estes 2017-03-27 19:23:24 PDT
Committed r214449: <https://trac.webkit.org/changeset/214449>