commit | 510e9cd9dd03e39953510d88c5a4a9db224df1bb | [log] [tgz] |
---|---|---|
author | rune@opera.com <rune@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Mon Aug 19 10:54:01 2013 |
committer | rune@opera.com <rune@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Mon Aug 19 10:54:01 2013 |
tree | 7d3d87f076fdb6905544454b3c8059da1fd83283 | |
parent | 7728e5a01daa447154d63df5786eb0ac1517470d [diff] |
Make configurationForViewport match production code While the production code has used initial viewport width and height for device-width and device-height, the configurationForViewport API in test builds still used separate values for the device size. This CL removes the redundant deviceSize in the production code and removes the device parameters from configurationForViewport so that the tests give the same results as the production code would do. BUG=273649 Review URL: https://chromiumcodereview.appspot.com/23101004 git-svn-id: svn://svn.chromium.org/blink/trunk@156302 bbb929c8-8fbe-4397-9dbb-9b2b20218538