Commit e9841bb
committed
Fix setInitialScale() to take display density into account.
Reverted changes made to fix bug 4982074 (Book text display is limited
to about half the available screen.) The Books app sets initial scale to
100%, and since display density for Crespo is 1.5, initial scale was
actually being set to a smaller value in Device Independent Pixel units.
The correct fix is to take display density into account. This fixes bug
5477652: webview scale factor wrong on prime in reddit app.
Change-Id: Ie09172629add7fb28ca6b47d0fd8f6450c5df5691 parent 63dd319 commit e9841bb
1 file changed
+4
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
| 172 | + | |
177 | 173 | | |
178 | 174 | | |
179 | 175 | | |
| |||
313 | 309 | | |
314 | 310 | | |
315 | 311 | | |
316 | | - | |
| 312 | + | |
317 | 313 | | |
318 | 314 | | |
319 | 315 | | |
| |||
353 | 349 | | |
354 | 350 | | |
355 | 351 | | |
356 | | - | |
357 | | - | |
358 | | - | |
| 352 | + | |
359 | 353 | | |
360 | 354 | | |
361 | 355 | | |
| |||
1120 | 1114 | | |
1121 | 1115 | | |
1122 | 1116 | | |
1123 | | - | |
1124 | 1117 | | |
1125 | 1118 | | |
1126 | 1119 | | |
| |||
1141 | 1134 | | |
1142 | 1135 | | |
1143 | 1136 | | |
1144 | | - | |
| 1137 | + | |
1145 | 1138 | | |
1146 | 1139 | | |
1147 | 1140 | | |
| |||
0 commit comments