diff options
author | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-15 20:49:52 +0000 |
---|---|---|
committer | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-15 20:49:52 +0000 |
commit | 3d7794771a901c341fb6b380e57cb492f95f36d9 (patch) | |
tree | f2e6e20d5d973e198cccdc0f9e655e908005475c /content/common | |
parent | fdd679ba41268871b72cb48e5cda976c1ab7daaf (diff) | |
download | chromium_src-3d7794771a901c341fb6b380e57cb492f95f36d9.zip chromium_src-3d7794771a901c341fb6b380e57cb492f95f36d9.tar.gz chromium_src-3d7794771a901c341fb6b380e57cb492f95f36d9.tar.bz2 |
Initialize device scale factor correctly on Android
The device scale factor was being initialized on Android, but was later
getting overridden back to the default value of 1. This patch fixes the
problem by moving the scale factor initialization from RenderViewImpl to
RenderWidget as is done on other platforms.
TEST=ViewportTest
Review URL: https://chromiumcodereview.appspot.com/11348033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/view_messages.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h index 5bc1079..0474a55 100644 --- a/content/common/view_messages.h +++ b/content/common/view_messages.h @@ -124,6 +124,7 @@ IPC_STRUCT_TRAITS_END() IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo) IPC_STRUCT_TRAITS_MEMBER(verticalDPI) IPC_STRUCT_TRAITS_MEMBER(horizontalDPI) + IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) IPC_STRUCT_TRAITS_MEMBER(depth) IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) IPC_STRUCT_TRAITS_MEMBER(isMonochrome) |