Legacy WebKit should set deviceScaleFactor in _commonInitializationWithFrameName...
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Dec 2014 19:28:43 +0000 (19:28 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Dec 2014 19:28:43 +0000 (19:28 +0000)
commit454e984ee73ca756238883288d4296f2c39604f1
treeea8fb20de91b4c15305ebca8541a5a992b8f3e6f
parent15278dbee0fef67b1c85849a7bfd0e83d35bf6fd
Legacy WebKit should set deviceScaleFactor in _commonInitializationWithFrameName, not _initWithFrame
https://bugs.webkit.org/show_bug.cgi?id=139306
<rdar://problem/19157955>

Reviewed by Beth Dakin.

* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):
(-[WebView _initWithFrame:frameName:groupName:]):
Move setDeviceScaleFactor to the initialization path that is guaranteed to happen.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@176856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebView.mm