| Index: Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
|
| index 498b1a3d777b499fe2fe975d046ba029db5c7f1a..657940776478b36097d320a232d6c91cfdc76f49 100644
|
| --- a/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -1160,8 +1160,7 @@ void InspectorPageAgent::updateViewMetrics(int width, int height, double deviceS
|
| void InspectorPageAgent::updateTouchEventEmulationInPage(bool enabled)
|
| {
|
| m_state->setBoolean(PageAgentState::touchEventEmulationEnabled, enabled);
|
| - if (mainFrame() && mainFrame()->settings())
|
| - mainFrame()->settings()->setTouchEventEmulationEnabled(enabled);
|
| + m_client->setTouchEventEmulationEnabled(enabled);
|
| }
|
|
|
| void InspectorPageAgent::setTouchEmulationEnabled(ErrorString*, bool enabled)
|
|
|