Always retrieve the screen scale factor from WKSI
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Mar 2014 21:49:18 +0000 (21:49 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Mar 2014 21:49:18 +0000 (21:49 +0000)
commit5389193d022d46aeca3fb979ee8d1ce178c86f40
tree3b4938c27987c62dedb739ed97c18cf1ce9af0b9
parentc28ed724402ddb222c0fe5ec4a5cc362382b81a1
Always retrieve the screen scale factor from WKSI
<rdar://problem/16329679>

Reviewed by Sam Weinig.

* Misc/WebUIKitSupport.mm:
(WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.

* UIProcess/ios/WKContentView.mm:
(-[WKContentView initWithFrame:context:WebKit::configuration:WebKit::webView:]):
(-[WKContentView _updateForScreen:]):
Use WKGetScreenScaleFactor/WKGetScaleFactorForScreen.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@166098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ios/ChangeLog
Source/WebKit/ios/Misc/WebUIKitSupport.mm
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/ios/WKContentView.mm