Bug 139326 - [iOS] Query -[WAKWindow screenScale] instead of using WKGetScreenScaleFactor()
Summary: [iOS] Query -[WAKWindow screenScale] instead of using WKGetScreenScaleFactor()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad iOS 8.1
: P2 Normal
Assignee: Daniel Bates
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-05 17:00 PST by Daniel Bates
Modified: 2014-12-05 17:09 PST (History)
0 users

See Also:


Attachments
Patch (2.49 KB, patch)
2014-12-05 17:02 PST, Daniel Bates
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2014-12-05 17:00:34 PST
We should use the screen scale factor of the WAKWindow instead of querying WKGetScreenScaleFactor() for it when taking a snapshot in DumpRenderTree as the former reflects the scale factor that is used in WebKit.
Comment 1 Daniel Bates 2014-12-05 17:02:11 PST
Created attachment 242683 [details]
Patch
Comment 2 Daniel Bates 2014-12-05 17:09:24 PST
Committed r176897: <http://trac.webkit.org/changeset/176897>