| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index b734fefd921d62a5cd3167a490ce17df12c925bb..a3caf5a585a3229bc3ff4cb01e69aa1fd0d0662b 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1749,6 +1749,8 @@ void WebLocalFrameImpl::setCanHaveScrollbars(bool canHaveScrollbars)
|
|
|
| void WebLocalFrameImpl::setInputEventsTransformForEmulation(const IntSize& offset, float contentScaleFactor)
|
| {
|
| + if (m_inputEventsOffsetForEmulation == offset && m_inputEventsScaleFactorForEmulation == contentScaleFactor)
|
| + return;
|
| m_inputEventsOffsetForEmulation = offset;
|
| m_inputEventsScaleFactorForEmulation = contentScaleFactor;
|
| if (frame()->view())
|
|
|