| Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| index 0b905f9a7de1aa1979980029b5f49d369558d4f8..1fad3a81fbf3d0e3dc5ff920dc9cf06da3673fb5 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -109,8 +109,8 @@ public:
|
| {
|
| if (m_draggedNode && m_draggedNode->layoutObject())
|
| m_draggedNode->layoutObject()->updateDragState(true);
|
| - float deviceScaleFactor = m_localFrame->host()->chromeClient().screenInfo().deviceScaleFactor;
|
| -
|
| + // TODO(oshima): Remove this when all platforms are migrated to use-zoom-for-dsf.
|
| + float deviceScaleFactor = m_localFrame->host()->deviceScaleFactorDeprecated();
|
| m_bounds.setWidth(m_bounds.width() * deviceScaleFactor);
|
| m_bounds.setHeight(m_bounds.height() * deviceScaleFactor);
|
| m_pictureBuilder = adoptPtr(new SkPictureBuilder(SkRect::MakeIWH(m_bounds.width(), m_bounds.height())));
|
|
|