| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index 8dec2f463b43ad57c89ee5f59b4c2e057c0ce799..19d5c55c988320575945e2600058df2f9ea75d43 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1205,6 +1205,10 @@ gfx::Size LayerTreeHostImpl::DeviceViewportSize() const {
|
| return device_viewport_size();
|
| }
|
|
|
| +float LayerTreeHostImpl::DeviceScaleFactor() const {
|
| + return device_scale_factor_;
|
| +}
|
| +
|
| gfx::SizeF LayerTreeHostImpl::VisibleViewportSize() const {
|
| gfx::SizeF dip_size =
|
| gfx::ScaleSize(DeviceViewportSize(), 1.f / device_scale_factor());
|
|
|