| Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| index ab5b0e7b38da10ede99bb915ea7f6405b1e21267..4ad25df7a50c5bdb733bcb8b1501e946c5ce647c 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -581,6 +581,11 @@ float ChromeClientImpl::windowToViewportScalar(const float scalarValue) const
|
| return viewportRect.width;
|
| }
|
|
|
| +float ChromeClientImpl::nonEmulatedDeviceScaleFactor() const
|
| +{
|
| + return m_webView->client() ? m_webView->client()->nonEmulatedDeviceScaleFactor() : 1.f;
|
| +}
|
| +
|
| WebScreenInfo ChromeClientImpl::screenInfo() const
|
| {
|
| return m_webView->client() ? m_webView->client()->screenInfo() : WebScreenInfo();
|
|
|