| Index: ppapi/shared_impl/ppb_view_shared.cc
|
| diff --git a/ppapi/shared_impl/ppb_view_shared.cc b/ppapi/shared_impl/ppb_view_shared.cc
|
| index 1e024a69000325edc80f9653ae4872a0d5d3bebb..198ff8faa38a5c31eab3cdde6a21f824cabbfeff 100644
|
| --- a/ppapi/shared_impl/ppb_view_shared.cc
|
| +++ b/ppapi/shared_impl/ppb_view_shared.cc
|
| @@ -9,6 +9,8 @@ namespace ppapi {
|
| ViewData::ViewData() {
|
| // Assume POD.
|
| memset(this, 0, sizeof(ViewData));
|
| + device_scale = 1.0;
|
| + css_scale = 1.0;
|
| }
|
|
|
| ViewData::~ViewData() {
|
| @@ -24,7 +26,9 @@ bool ViewData::Equals(const ViewData& other) const {
|
| clip_rect.point.x == other.clip_rect.point.x &&
|
| clip_rect.point.y == other.clip_rect.point.y &&
|
| clip_rect.size.width == other.clip_rect.size.width &&
|
| - clip_rect.size.height == other.clip_rect.size.height;
|
| + clip_rect.size.height == other.clip_rect.size.height &&
|
| + device_scale == other.device_scale &&
|
| + css_scale == other.css_scale;
|
| }
|
|
|
| PPB_View_Shared::PPB_View_Shared(ResourceObjectType type,
|
|
|