Now, ewebkit and ewebkit2 have different approach about getting device pixel ratio. ewebkit depends on deprecatedTargetDPI and ecore_x_dpi_get but ewebkit2 use Page::deviceScaleFactor.
Created attachment 206361 [details] Patch
Comment on attachment 206361 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=206361&action=review Looks OK. > Tools/EWebLauncher/main.c:153 > + double device_pixel_ratio; Isn't float more clear ?
Committed r152523: <http://trac.webkit.org/changeset/152523>
(In reply to comment #2) > (From update of attachment 206361 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=206361&action=review > > Looks OK. > > > Tools/EWebLauncher/main.c:153 > > + double device_pixel_ratio; > > Isn't float more clear ? Landed after fixed like you mentioned. Thank you